get.model.vals {MBNMAtime} | R Documentation |
Get MBNMA model values
Description
Extracts specific information required for prediction from a time-course MBNMA model
Usage
get.model.vals(
mbnma,
E0 = 0,
level = "treatments",
lim = "cred",
link = "identity"
)
Arguments
mbnma |
An S3 object of class |
E0 |
An object to indicate the value(s) to use for the response at time = 0 in the prediction. This can take a number of different formats depending on how it will be used/calculated. The default is 0 but this may lead to non-sensical predictions if Ratio of Means are modeled.
|
level |
Can take either |
lim |
Specifies calculation of either 95% credible intervals ( |
link |
Can take either |
Value
A list containing named elements that correspond to different
time-course parameters in mbnma
. These elements contain MCMC results
either taken directly from mbnma
or (in the case of random time-course
parameters specified as method="random"
) randomly
generated using parameter values estimated in mbnma
.
Additional elements contain the following values:
-
timecourse
A character object that specifies the time-course used inmbnma
in terms of alpha, beta, mu, d and time. Consistency relative time-course parameters are specified in terms of mu and d. -
time.params
A character vector that indicates the different time-course parameters that are required for the prediction
@noRd