Description Usage Arguments Value Examples
View source: R/display_histograms.R
Auxiliar function that displays the concordance histogram associated with the observation.
1 | display.obs.histogram(histograms, type, obs.index)
|
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 |
No value is returned
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.