Produces a bamdata object that can be passed to bam_estimate function

bam_data(w, s = NULL, dA = NULL, Qhat, max_xs = 30L, seed = NULL)

Arguments

w

Matrix (or data frame) of widths: time as columns, space as rows

s

Matrix of slopes: time as columns, space as rows

dA

Matrix of area above base area: time as columns, space as rows

Qhat

Vector of Q estimates. Needed to create prior on Q.

max_xs

Maximum number of cross-sections to allow in data. Used to reduce sampling time. Defaults to 30.

seed

RNG seed to use for sampling cross-sections, if nx > max_xs.