powered by
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)
return list of 2 list of data.frame given different bagged data
data.frame info
number of resamplings done
number of columns in each output data.frame
auto include the first n rows
data(Example_data, package = "Covid19Wastewater") head(bagging(Example_data, 10, 5, 2))
Run the code above in your browser using DataLab