filterRareCommon | R Documentation |
Filter rare response variables from the data
filterRareCommon(X, lower = lower, higher = higher)
X |
is a data.frame with rows as sites or individuals or populations and columns as loci or species OTUs. |
lower |
is the lower threshold value in which response varialkes are removed from the data.frame. |
higher |
is the upper threshold value in which response varialkes are removed from the data.frame. |
This function allows you to remove response units (OTUs or SNPs or species) from your response data as a preprocessing step. Suitable when the response is a binary outcome.
A filtered tibble.
X <- filterRareCommon(Responsedata, lower = 0.4, higher = 0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.