powered by
It is used to remove samples which have NA/missing data in covariates.
remove_missingdata(data)
data is a dataframe.
A list of the following components.
The indices of rows without missing values
The dataframe without missing values
The function removes samples (by rows) which have NA/missing data.
# NOT RUN { ## Load the example data data(acodata) result <- remove_missingdata(acodata[, c("vacc1_evinf","fcgr2a.3")]) # }
Run the code above in your browser using DataLab