crr2stats: Extract statistics from an object of class crr

View source: R/crrFormula.R

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

autoReg documentation built on Nov. 14, 2023, 9:07 a.m.