plot_and_fill_data: Plot the simulated data object and use it to populate the...

View source: R/plot_and_fill_data.R

plot_and_fill_dataR Documentation

Plot the simulated data object and use it to populate the stan input list.

Description

Plot the simulated data object and use it to populate the stan input list.

Usage

plot_and_fill_data(
  dat,
  year_effects = 1L,
  cohort_effects = 0L,
  init_effects = 1L,
  plot = FALSE
)

Arguments

dat

is simulated data object

year_effects

scalar, 1 if year effects are estimated

cohort_effects

scalar, 1 if cohort effects are estimated

init_effects

scalar, 1 if initial size effects are estimated

plot

Make a plot?

Value

stan_dat a list containing needed Stan slots


ChristineStawitz-NOAA/stspsize documentation built on July 16, 2025, 8:15 p.m.