invtransformweibull {spatsurv}R Documentation

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)

Arguments

x

a vector of paramters

Value

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


[Package spatsurv version 2.0-1 Index]