line_censoring_removal: Remove Outliers from Color Curves

View source: R/line_censoring_removal.R

line_censoring_removalR Documentation

Remove Outliers from Color Curves

Description

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.

Usage

line_censoring_removal(dataframe)

Arguments

dataframe

A dataframe with x, y, and group values. Default value is 'step4'.

Value

A dataframe for each curve, stored in 's4_processed'.

Examples

# line_censoring_removal(dataframe)

Pechli-Lab/SurvdigitizeR documentation built on July 17, 2024, 8:01 a.m.