filter_rcs_predictors {clinpubr} | R Documentation |
Filter predictors for RCS
Description
Filter predictors that can be used to fit for RCS models.
Usage
filter_rcs_predictors(data, predictors = NULL)
Arguments
data |
A data frame. |
predictors |
A vector of predictor names to be filtered. |
Value
A vector of predictor names. These variables are numeric and have more than 5 unique values.
Examples
filter_rcs_predictors(mtcars)
[Package clinpubr version 1.0.1 Index]