coevfit
objectR/standata.R
standata.Rd
Expose the Stan data list for a fitted model represented by a coevfit
object
standata(object)
Named list of data for Stan
if (FALSE) { # \dontrun{
# fit dynamic coevolutionary model
fit <- coev_fit(
data = authority$data,
variables = list(
political_authority = "ordered_logistic",
religious_authority = "ordered_logistic"
),
id = "language",
tree = authority$phylogeny,
# additional arguments for cmdstanr::sample()
chains = 4,
parallel_chains = 4,
seed = 1
)
# expose stan data
standata(fit)
} # }