coef.tvTran {dynsurv}R Documentation

Extract Coefficients from Time-varying Transformation Model

Description

Extract coefficient values from tvTran fitting results, and summarize the point estimate and 95% credible band into a data frame.

Usage

## S3 method for class 'tvTran'
coef(object, ...)

Arguments

object

An object returned by function tvTran.

...

Optional arguments. Currently, the only applicable arguemnt is level for the credible level. The default value is 0.95.

Value

A data.frame with 6 columns ("Low", "Mid", "High", "Time", "Cov", "Model"), where "Mid" is the point estimates; "Low" and "High" are the 2.5% and 97.5% quantiles estimates from resampling method as default; "Cov" and "Model" contain character values of the covariates and model type.

See Also

tvTran, and plotCoef.

Examples

## See the examples in tvTran.

[Package dynsurv version 0.4-6 Index]