List of matrices for each subject of effective number of parameters,
mean deviance, deviance of mean, DIC, BPIC and associated weights.
Arguments
sList
List of samples objects
stage
A string. Specifies which stage the samples are to be taken from "preburn", "burn", "adapt", or "sample"
filter
An integer or vector. If it's an integer, iterations up until the value set by filter will be excluded.
If a vector is supplied, only the iterations in the vector will be considered.
use_best_fit
Boolean, defaults to TRUE, use minimal likelihood or mean likelihood
(whichever is better) in the calculation, otherwise always uses the mean likelihood.
# For a broader illustration see `compare`.# Here we just take two times the same model, but normally one would compare# different modelscompare_subject(list(m0 = samples_LNR, m1 = samples_LNR))