View source: R/line_censoring_removal.R
line_censoring_removal | R Documentation |
This function aids in the removal of outlier values within color curves, which can occur during the analysis of a Kaplan-Meier (KM) study. It works by censoring any y-values greater than the 90th percentile of the intra-group range for each group, thus ensuring a smoother and more interpretable curve.
line_censoring_removal(dataframe)
dataframe |
A dataframe with x, y, and group values. Default value is 'step4'. |
A dataframe for each curve, stored in 's4_processed'.
# line_censoring_removal(dataframe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.