View source: R/api-shrinkage.R
| shrinkage_report | R Documentation |
Lightweight accessor that returns the per-facet empirical-Bayes
shrinkage table stored on a fit when facet_shrinkage != "none".
Returns NULL (with a message) when no shrinkage has been applied
so callers can probe without error.
shrinkage_report(fit)
fit |
An |
A data.frame with one row per facet (and optionally
"Person") or NULL when shrinkage has not been applied.
apply_empirical_bayes_shrinkage(), fit_mfrm().
toy <- load_mfrmr_data("example_core")
fit <- fit_mfrm(toy, "Person", c("Rater", "Criterion"), "Score",
method = "JML", maxit = 30,
facet_shrinkage = "empirical_bayes")
shrinkage_report(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.