Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/add.null.class.R
Create nMC observations of a null class.
1 | add.null.class(target, predictors, nMC = 50)
|
target |
Column with names of classes. |
predictors |
The columns containig the predictor variables. |
nMC |
Number returned observations of the null class (default = 50). |
A null class has no multivariate structure. It is created by shuffling the rows across the whole dataset and then shuffling the column labels. By doing so we generate nMC in silico observations for a class containing only random variable values but preserving the variable space.
Dataframe with original observatios and nMC observations of a null class. First column named 'class' contains the target classes, predictor names are mantained.
Pedro Martinez Arbizu & Sven Rossel
Rossel, S. & P. Martinez Arbizu (2018) Automatic specimen identification of Harpacticoids (Crustacea:Copepoda) using Random Forest and MALDIāTOF mass spectra, including a post hoc test for false positive discovery. Methods in Ecology and Evolution, 9(6):1421-1434.
https://doi.org/10.1111/2041-210X.13000
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.