Obtaining a data frame of bootstrapped data using resamples
Source:R/bootstrap.orig.data.R
bootstrap.orig.data.Rd
This function extracts the records corresponding to each resample from the original distance data and pastes them together in a new data frame which is returned.
Arguments
- orig.data
Original data to be bootstrapped
- resample
Specifies the resampling unit for bootstrapping, default is
transect.id
. Must match a column name inorig.data
exactly- new.resamples
String of resampled units from
data[,"resample"]
. Created bycreate.bootstrap.data()
- resamples.no
Length of new.resamples