Learn R Programming

spatsurv (version 2.0)

invtransformweibull: invtransformweibull function

Description

A function to transform estimates of the (alpha, lambda) parameters of the weibull baseline hazard function, so they are commensurate with R's inbuilt density functions, (shape, scale).

Usage

invtransformweibull(x)

Value

the transformed parameters. For the weibull model, this transforms 'shape' 'scale' (see ?dweibull) to 'alpha' and 'lambda' for the MCMC

Arguments

x

a vector of paramters