fit_model.Rd
Fit a mark-recapture model
fit_model(data, ...)
data | A list of data generated by the function
|
---|---|
... | Additional parameters to pass to |
A list containing the stanfit object, extracted posterior draws, and input data.
if (FALSE) { captures <- system.file("extdata", "capture-example.csv", package = "mrmr") translocations <- system.file("extdata", "translocation-example.csv", package = "mrmr") surveys <- system.file("extdata", "survey-example.csv", package = "mrmr") out <- clean_data(captures, translocations, surveys) fit_model(out, chains = 1, iter = 10) }