Skip to contents

Title

Usage

Jeremy_sample_variable(
  obj,
  newdata,
  what = "mu_g",
  n_samples = 100,
  sample_fixed = TRUE,
  seed = 123456,
  bias.correct = F
)

Arguments

obj

a tinyVAST model object

newdata

a dataset for making new predictions

what

what predictions are desired, almost always "mu_g"

n_samples

integer of samples

sample_fixed

logical; almost always T

seed

integer; a seed for the random draws

bias.correct

logical; should the transformation bias correction be applied; very slow

Value

an object with simulated predictions on newdata