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
)
name (with file path) to save the model as
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 the initial movement probabilities be time-varying? Default value is `FALSE`
writeDABOM()
#> Error in buildPaths(parent_child = parent_child, direction = direction): !is.null(parent_child) is not TRUE