invtransformweibull: invtransformweibull function

Description Usage Arguments Value

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

1

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


bentaylor1/spatsurv documentation built on May 12, 2019, 3:02 p.m.