Revision 39d4bf9f99bbff5d96f3f4093cdc7a39ca03a29a authored by Charles J. Geyer on 15 March 2017, 08:04:36 UTC, committed by cran-robot on 15 March 2017, 08:04:36 UTC
1 parent ed74c05
Raw File
transform.Rd
\name{astertransform}
\alias{astertransform}
\title{Transform between Aster Model Parameterizations}
\usage{
astertransform(arg, obj, from = c("unconditional", "conditional"),
    to.cond = c("unconditional", "conditional"),
    to.mean = c("mean.value", "canonical"))
}
\description{
Transform between different parameterizations of the aster model.
In effect, this function is called inside \code{\link{predict.aster}}.
Users generally do not need to call it directly.
}
\arguments{
  \item{arg}{canonical parameter vector of length \code{nrow(obj$data)},
    either unconditional (\eqn{\varphi}{phi})
    or conditional (\eqn{\theta}{theta}) depending on the value of
    argument \code{from}.}
  \item{obj}{aster model object, the result of a call to \code{\link{aster}}.}
  \item{from}{the type of canonical parameter which argument \code{arg} is.}
  \item{to.cond}{the type of parameter we want.}
  \item{to.mean}{the type of parameter we want.}
}
\value{
  a vector of the same length as \code{arg}, the transformed parameter vector.
}
\keyword{misc}
back to top