astertransform {aster}R Documentation

Transform between Aster Model Parameterizations

Description

Transform between different parameterizations of the aster model. In effect, this function is called inside predict.aster. Users generally do not need to call it directly.

Usage

astertransform(arg, obj, from = c("unconditional", "conditional"),
    to.cond = c("unconditional", "conditional"),
    to.mean = c("mean.value", "canonical"))

Arguments

arg

canonical parameter vector of length nrow(obj$data), either unconditional (\varphi) or conditional (\theta) depending on the value of argument from.

obj

aster model object, the result of a call to aster.

from

the type of canonical parameter which argument arg is.

to.cond

the type of parameter we want.

to.mean

the type of parameter we want.

Value

a vector of the same length as arg, the transformed parameter vector.


[Package aster version 1.1-3 Index]