Compare multiple TNA estimators on the same sequences
Value
A tidy edge-list simulab_sim base data.frame with one row per
model/group/edge and columns model, from, to, and weight
(with group inserted when group is supplied). A stacked model_info
table, one row per fitted model and group, is available through
as.data.frame(). The fitted native models are stored as a named list and
returned by as_tna_model().
Examples
data <- simulate_sequences(n = 40, n_states = 3, chain_length = 12, seed = 1)
if (requireNamespace("tna", quietly = TRUE)) {
compare_tna_models(data, models = c("tna", "ftna"))
}