View source: R/nm.process.coveffects.r
covInfo | R Documentation |
Constructs a covInfo (covariate information) object from a vector.
covInfo(
cov.name,
cov.vals,
cov.cat = FALSE,
cov.center = stats::median(cov.vals),
cov.min = min(cov.vals),
cov.max = max(cov.vals),
cov.label = cov.name,
cov.breaks = pretty(cov.vals)
)
cov.name |
The name of the covariate |
cov.vals |
A vector of values |
cov.cat |
A boolean indicating if the covariate is categorical |
cov.center |
The typical value of the covariate |
cov.min |
The minimum value of the covariate |
cov.max |
The maximum value of the covariate |
cov.label |
The printed name of the covariate (e.g. seen on plot axes) |
cov.breaks |
The points at which simulations and plots would be assessed |
A covInfo object
This function is used with nm.process.coveffects
print.covInfo
Other coveffects:
eval.eqs()
,
make.eqs()
,
print.covInfo()
eqs <- make.eqs(CL = THETA1*(1 + (GNDR == 0)*THETA7)*(AGE/33.72)^THETA6*exp(ETA1)
,V1 = THETA2*(1 + (GNDR == 0)*THETA9)*(AGE/33.72)^THETA8*exp(ETA2)
)
eqs$label <- list(CL = "Clearance (L/h)", V1 = "Volume of Central Compartment (L)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.