Learn R Programming

spatsurv (version 0.9-11)

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)

Arguments

x
a vector of paramters

Value

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