get_sampledflist {MicrobiotaProcess} | R Documentation |
Generate random data list from a original data.
get_sampledflist(dalist, bootnums = 30, ratio = 0.7, makerownames = FALSE)
dalist |
list, a list contained multi data.frame. |
bootnums |
integer, the number of bootstrap iteration, default is 30. |
ratio |
numeric, the ratios of each data.frame to keep. |
makerownames |
logical, whether build row.names,default is FALSE. |
the list contained the data.frame generated by bootstrap iteration.
Shuangbin Xu
data(iris) irislist <- split(iris, iris$Species) set.seed(1024) irislist <- get_sampledflist(irislist)