View source: R/STIC.RFimpute.R
STIC.RFimpute | R Documentation |
A simple wrapper for the missForest
random forest imputation algorithm. STIC.RFimpute
first converts STIC (Stream Temperature, Intermittency, and Conductivity) presence/absence data to categorical outcomes to avoid regression fitting. One should consult missForest
for specifics on the underlying algorithm.
STIC.RFimpute(p.a, ...)
p.a |
Optimally, a dataframe containing presence absence data at sites (columns) over time (rows). |
... |
Additional arguments from |
Provides the conventional unaltered missForest
output.
Daniel J. Stekhoven, <stekhoven@stat.math.ethz.ch>
Stekhoven, D.J. and Buehlmann, P. (2012), 'MissForest - nonparametric missing value imputation for mixed-type data', Bioinformatics, 28(1) 2012, 112-118, doi: 10.1093/bioinformatics/btr597
arc.pa <- data.frame(matrix(ncol = 3, data = c(1,1,1, 0,1,1, 1,1,1, 0,NA,1), byrow = TRUE))
names(arc.pa) <- c("n1 --> n2", "n2 --> n3", "n3 --> n4")
STIC.RFimpute(arc.pa)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.