get_sampledflist: Generate random data list from a original data.

View source: R/diff-ml-utilities.R

get_sampledflistR Documentation

Generate random data list from a original data.

Description

Generate random data list from a original data.

Usage

get_sampledflist(dalist, bootnums = 30, ratio = 0.7, makerownames = FALSE)

Arguments

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.

Value

the list contained the data.frame generated by bootstrap iteration.

Author(s)

Shuangbin Xu

Examples

## Not run: 
    data(iris)
    irislist <- split(iris, iris$Species)
    set.seed(1024)
    irislist <- get_sampledflist(irislist)

## End(Not run)

xiangpin/MicrobitaProcess documentation built on Nov. 6, 2024, 1:15 a.m.