bootstrapper: Create a bootstrap of segments and their sightings

View source: R/bootstrapper.R

bootstrapperR Documentation

Create a bootstrap of segments and their sightings

Description

Create a bootstrap of segments and their sightings

Usage

bootstrapper(segments, sightings)

Arguments

segments

'data.frame' of segment summary data (each row is a segment), with a columns named 'Sample.Label'.

sightings

'data.frame' of sightings (each row is a sighting), with a column named 'Sample.Label'.

Value

A 'list' with two slots: a bootstrap version of 'segments' and a bootstrap version of 'sightings'. Each 'data.frame' has a revised 'Sample.Label' column and a new column, 'old_Sample', which records the original sample label.


ericmkeen/bangarang documentation built on March 1, 2025, 11:58 p.m.