Construct all the necessary inputs to the DABOM JAGS model. Returns a named list that can be passed directly to JAGS.
createJAGSinputs(
filter_ch = NULL,
parent_child = NULL,
configuration = NULL,
by_origin = FALSE,
fish_origin = NULL
)
filtered capture history as returned by the `filterDetections()` function in the `PITcleanr` package, which has then been verified by a user and all blank or NA `user_keep_obs` entries have been completed.
data frame with at least `parent` and `child` columns. Can be created with `buildParentChild()` function in the `PITcleanr` package.
is a data frame which assigns node names to unique SiteID, AntennaID, and site configuration ID combinations. One example can be built with the function `buildConfig`
should Dirichlet vectors be created for each fish origin separately (`TRUE`), or be common to all origins (`FALSE`)? Default is `FALSE`
tibble containing columns of `tag_code` and `origin`, where `origin` is either "W" for wild or "H" for hatchery
createJAGSinputs_PRA()
#> Error in createJAGSinputs_PRA(): could not find function "createJAGSinputs_PRA"