### These examples aren't run during tests
### because they can take quite long
if (FALSE) {
### Simple example with only main reliability results
data(pp15, package="rosetta");
rosetta::reliability(
pp15,
c(
"highDose_AttGeneral_good",
"highDose_AttGeneral_prettig",
"highDose_AttGeneral_slim",
"highDose_AttGeneral_gezond",
"highDose_AttGeneral_spannend"
)
);
### More extensive example with an RMarkdown partial that
### displays in the viewer
rosetta::rosettaReliability_partial(
rosetta::reliability(
attitude,
descriptives = TRUE,
itemLevel = TRUE,
scatterMatrix = TRUE
)
);
}
Run the code above in your browser using DataLab