Learn R Programming

spatsurv (version 2.0)

transformweibull: transformweibull function

Description

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

Usage

transformweibull(x)

Value

the transformed parameters. For the weibull model, this is the back-transform from 'alpha' and 'lambda' to 'shape' 'scale' (see ?dweibull).

Arguments

x

a vector of paramters