get_sampledflist {MicrobiotaProcess} | R 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

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

[Package MicrobiotaProcess version 1.0.5 Index]