remove_rarevariants {TwoPhaseInd}R Documentation

A function used in spmle and acoarm to remove rare-variant covariates

Description

It is used to remove a rare-variant covariates, which can cause divergence problem.

Usage

remove_rarevariants(data, cutoff = 0.02)

Arguments

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.


[Package TwoPhaseInd version 1.1.1 Index]