Learn R Programming

survBootOutliers (version 1.0)

display.obs.histogram: Auxiliar function that displays the concordance histogram associated with the observation.

Description

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

Usage

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

Run this code
# 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)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab