display.obs.histogram: Auxiliar function that displays the concordance histogram...

Description Usage Arguments Value Examples

View source: R/display_histograms.R

Description

Auxiliar function that displays the concordance histogram associated with the observation.

Usage

1
display.obs.histogram(histograms, type, obs.index)

Arguments

histograms

The histograms object returned by the survBootOutliers function when the method selected is "bht" or "dbht".

type

The type of histogram that is given as input, possible choices are again "bht" or "dbht".

obs.index

The original index of the observation of the concordance histograms to be displayed

Value

No value is returned

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run: 
whas <- get.whas100.dataset()
outliers_bht <- survBootOutliers( 
      surv.object=Surv(time = whas$times,event = whas$status ), 
     covariate.data = whas[,2:5], 
     sod.method = "bht", 
     B = 2000, B.N = 100 , 
     parallel.param = BiocParallel::MulticoreParam() 
)
display.obs.histogram(outliers_bht$histograms, "bht", 67)

## End(Not run)

jonydog/survBootOutliers documentation built on May 14, 2019, 8:54 a.m.