remove_rarevariants {TwoPhaseInd} | R Documentation |
It is used to remove a rare-variant covariates, which can cause divergence problem.
remove_rarevariants(data, cutoff = 0.02)
data |
A dataframe composed of covariates. |
cutoff |
Proportion cutoff. If data composed of more than (1-cutoff) proportion of a constant value, we call it rare-variant. |