boot_convo: Inherited age convolver

Description Usage Arguments Value

Description

By oversample site, draw a bootstrap sample with replacement (n) times, convolve the sample distributions by subtracted the youngest from the set, and return the 2.5%, median, 97.5% and observed distributions across all sites.

Usage

1
boot_convo(dat = sites, ftype, n, t = years, probs = npmf)

Arguments

dat

is a data.table with rows of obs and cols of vars

ftype

is a character vector matching facies class

n

is an integer for number of bootstraps

t

is a vector of years

probs

is a matrix with row pmfs and cols of obs ordered by rank

Value

matrix with row pmfs and cols for 2.5%, median, 97.5% and observed distributions


crumplecup/muddier documentation built on Aug. 18, 2021, 11:02 a.m.