crr2stats {autoReg}R Documentation

Extract statistics from an object of class crr

Description

Extract statistics from an object of class crr

Usage

crr2stats(x, digits = 2)

Arguments

x

an object of class crr

digits

integer indication the position of decimal place

Value

An object of class "data.frame"

Examples

data(melanoma,package="boot")
melanoma$status_crr=ifelse(melanoma$status==1,1,ifelse(melanoma$status==2,0,2))
x=crrFormula(time+status_crr~age+sex+thickness+ulcer,data=melanoma)
crr2stats(x)

[Package autoReg version 0.3.3 Index]