Description Usage Arguments Value
selects a possibly repeating sample with generated unique ids for bootstrap
1 2 | simTrawlHaulsBySelection(data, idvalues, oldidname = "original.id",
removeMissing = F)
|
data |
data frame to resample, e.g. CA or HL table from DATRAS |
idvalues |
values of the column haul.id that defines the selection |
oldidname |
column name where original haul ids should be stored |
removeMIssing |
indicates whether idvalues with no corresponding entries in data should be rmeoved. If FALSE, this case halts execution |
data frame with the specified selection of samples, with column haul.id populated with unqiue identifiers in stead of the original identifiers, and the original identifiers stored in the column oldidname. idvalues not in data will be represented by NAs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.