get_icpt_list {expirest} | R Documentation |
List of intercepts
Description
The function get_icpt_list()
prepares a list of the intercepts
of the regression models fitted to the data.
Usage
get_icpt_list(
data,
response_vbl,
time_vbl,
batch_vbl,
model_list,
xform = c("no", "no"),
shift = c(0, 0)
)
Arguments
data |
The data frame that was used for fitting the models of parameter
|
response_vbl |
A character string that specifies the response variable
name that must be a column of |
time_vbl |
A character string that specifies the time variable name
that must be a column of |
batch_vbl |
A character string that specifies the column in |
model_list |
A list of regression models of different type. Usually,
it is a list of four elements named |
xform |
A vector of two character strings that specifies the
transformation of the response and the time variable. The default is
“no” transformation, i.e. |
shift |
A vector of two values which will be added to the variables
|
Details
The function get_icpt_list()
extracts the intercepts of
the various regression models (fitted by aid of the lm()
function)
that are passed in via the model_list
parameter.
Value
A list of four elements named cics
, dics
,
dids.pmse
and dids
is returned. Each of them contains a list
element named icpt
with a vector of the intercepts. If the data
have been transformed, each of the primary list elements contains a further
list element called icpt.orig
with a numeric vector of the intercepts
on the original scale.
See Also
get_model_list
, get_icpt
,
expirest_osle
, expirest_wisle
.