Description Usage Arguments Details Value Examples
Computes a vector of individual HAZ values based on the FREM model.
1 2 3 4 |
age |
A vector of ages (in years) for which to compute the HAZ values. |
basethetas |
A vector of base model thetas (fixed effects). |
covthetas |
A vector with the FFEM, parameter specific covariate effetcs. |
etas |
A vecor of individual specific random effects. |
BASE |
The fixed effects parameter value for the BASE parameter in the FREM model. |
PLMAX |
The fixed effects parameter value for the PLMAX parameter in the FREM model. |
HLKON |
The fixed effects parameter value for the HLKON parameter in the FREM model. |
HLKOFF |
The fixed effects parameter value for the HLKOFF parameter in the FREM model. |
BASSL |
The fixed effects parameter value for the BASSL parameter in the FREM model. |
BP |
The fixed effects parameter value for the BP parameter in the FREM model. |
BASECOV |
The FFEM covariate effect for the BASE parameter in the FREM model. |
PLMAXCOV |
The FFEM covariate effect for the PLMAX parameter in the FREM model. |
HLKONCOV |
The FFEM covariate effect for the HLKON parameter in the FREM model. |
HLKOFFCOV |
The FFEM covariate effect for the HLKOFF parameter in the FREM model. |
BASSLCOV |
The FFEM covariate effect for the BASSL parameter in the FREM model. |
BPCOV |
The FFEM covariate effect for the BP parameter in the FREM model. |
The basethetas+covthetas+etas and BASE+PLMAX+HLKON+HLKOFF+BASSL+BP+(the corrsponding covariate effects) are mutually exclusive. If basethetas is provided, then the former set of arguments will be used.
A vector of HAZ values as long as the vector of age
.
1 2 3 4 | ## Not run:
hazValues <- calcHAZVector(age = c(0,30,60,90)/(30*12),basethetas = thbasevector,covthetas = FREMCoeff,etas = IndEtas)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.