View source: R/bootstrapping.R
bootstrap_data | R Documentation |
Make bootstrap replicates of STOMobs object from stratification specified by control object, see (STOMcontrol-class ).
bootstrap_data(
s,
nfac = 1,
replace = TRUE,
seed = 0,
rep_id = 1,
firstUnchanged = TRUE
)
s |
Stomach data set of class STOMobs. |
nfac |
Number of bootstrap samples relative to original number of samples. |
replace |
Logical for bootstrapping with replacement. |
seed |
Random seed value. |
rep_id |
Replicate identifier |
firstUnchanged |
Do not bootstrap for rep_id==1 |
Bootstrapped stomach data (replicate) of class STOMobs.
## Not run: b<-bootstrap_data(s)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.