View source: R/class_spflow_model.R
compare_results | R Documentation |
Compare results of multiple spflow_models
compare_results(
model_list,
global_vars = c("model_coherence", "R2_corr", "ll", "AIC", "N_sample"),
sig_levels = c(`***` = 0.001, `**` = 0.01, `*` = 0.05, `'` = 0.1),
digits = 3,
add_dispersion = FALSE
)
model_list |
a list of models that should be compared (only |
global_vars |
a character indicating which statistics should be reported |
sig_levels |
a named numeric indicating the codification of significance levels |
digits |
a numeric indicating to what decimal the results should be rounded |
add_dispersion |
a logical, if |
a data.frame
Lukas Dargel
res_ge <- spflow(y9 ~ . + P_(DISTANCE), multi_net_usa_ge, "ge_ge")
res_usa <- spflow(y9 ~ . + P_(DISTANCE), multi_net_usa_ge, "usa_usa")
compare_results(list("GE" = res_ge, "US" = res_usa),
global_vars = c("N_sample", "R2_corr", "model_coherence"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.