transformweibull: transformweibull function

View source: R/spatsurvMisc.R

transformweibullR Documentation

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).


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.