print.orsf {obliqueRSF}R Documentation

Grow an oblique random survival forest (ORSF)

Description

Grow an oblique random survival forest (ORSF)

Usage

## S3 method for class 'orsf'
print(x, ...)

Arguments

x

an ORSF object (i.e. the object returned from the ORSF function)

...

additional arguments passed to print

Value

A printed summary of the oblique random survival forest.

Examples

## Not run: 
data("pbc",package='survival')
pbc$status[pbc$status>=1]=pbc$status[pbc$status>=1]-1
pbc$id=NULL
fctrs<-c('trt','ascites','spiders','edema','hepato','stage')
for(f in fctrs)pbc[[f]]=as.factor(pbc[[f]])
pbc=na.omit(pbc)

orsf=ORSF(data=pbc,ntree=30)
print(orsf)

## End(Not run)

[Package obliqueRSF version 0.1.2 Index]