compare_subject | R Documentation |
Returns the BPIC/DIC based model weights for each participant in a list of samples objects
compare_subject(
sList,
stage = "sample",
filter = 0,
use_best_fit = TRUE,
print_summary = TRUE,
digits = 3
)
sList |
List of samples objects |
stage |
A string. Specifies which stage the samples are to be taken from |
filter |
An integer or vector. If it's an integer, iterations up until the value set by |
use_best_fit |
Boolean, defaults to |
print_summary |
Boolean (defaults to |
digits |
Integer, significant digits in printed table |
List of matrices for each subject of effective number of parameters, mean deviance, deviance of mean, DIC, BPIC and associated weights.
# For a broader illustration see `compare`.
# Here we just take two times the same model, but normally one would compare
# different models
compare_subject(list(m0 = samples_LNR, m1 = samples_LNR))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.