Learn R Programming

invivoPKfit (version 2.0.1)

get_data_sigma_group.pk: Get data_sigma_group

Description

Get data_sigma_group

Usage

# S3 method for pk
get_data_sigma_group(obj, newdata = NULL, ...)

Value

A `factor` vector giving the error SD group ID for each observation, as the interaction of the factors specified in `obj$stat_error_model$error_group`.

Arguments

obj

A [pk()] object

newdata

Optional: A `data.frame` with new data for which to get the `data_sigma_group`s. If NULL (the default), then the groups will be evaluated for the `obj$data`.

...

Additional arguments. Not currently in use.

Author

Caroline Ring