invtransformweibull: invtransformweibull function

View source: R/spatsurvMisc.R

invtransformweibullR 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


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