View source: R/library--analysis_tools--lm_rand_forest--info.R
| bagging | R Documentation | 
Bootstrap aggregating of dataset gen a list of dataframes using row resampling and column downsizing
bagging(data, num_bags, num_features = NULL, include_first = 0)
data | 
 data.frame info  | 
num_bags | 
 number of resamplings done  | 
num_features | 
 number of columns in each output data.frame  | 
include_first | 
 auto include the first n rows  | 
return list of 2 list of data.frame given different bagged data
data(Example_data, package = "Covid19Wastewater")
head(bagging(Example_data, 10, 5, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.