View source: R/supporting_functions.R
RF_Pred_Regression | R Documentation |
Predict continuous variables based on a taxa read count table by random forest
RF_Pred_Regression(TAX, variable, fold = 5, seed = 2020)
TAX |
The taxa read count table, samples (row) by taxa (col). |
variable |
The continuous variable to predict. |
fold |
The number of folds; default is 5. |
seed |
The seed to generate fold indices for samples; default is 2020. |
A list
pred - A table summarizing the predicted and true values for all samples.
rmse_across_fold - RMSEs across folds.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.