View source: R/diff-ml-utilities.R
get_sampledflist | 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
## Not run:
data(iris)
irislist <- split(iris, iris$Species)
set.seed(1024)
irislist <- get_sampledflist(irislist)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.