This writes the overall JAGS model for a generic DABOM as a text file. It can then be modified depending on the observations for a particular valid tag list.

writeDABOM(
  file_name = NULL,
  parent_child = NULL,
  configuration = NULL,
  time_varying = FALSE
)

Arguments

file_name

name (with file path) to save the model as

parent_child

data frame with at least `parent` and `child` columns. Can be created with `buildParentChild()` function in the `PITcleanr` package.

configuration

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`

time_varying

Should the initial movement probabilities be time-varying? Default value is `FALSE`

Author

Kevin See

Examples

writeDABOM()
#> Error in buildPaths(parent_child = parent_child, direction = direction): !is.null(parent_child) is not TRUE