summary.assumptions_cmpoutput | R Documentation |
Summary method for objects of class assumptions_cmpoutput
, which
contain the assumptions for the parametric tests used in a comparison of an
output.
## S3 method for class 'assumptions_cmpoutput'
summary(object, ...)
object |
Object of class |
... |
Currently ignored. |
A list with the following items:
A matrix of p-values for the MANOVA assumptions. All rows, expect the last one, correspond to the Royston test for multivariate normality for each group; the last row corresponds to Box's M test for homogeneity of covariance matrices. Columns correspond to number of principal components required to explain the percentage of user-specified variance.
A matrix of p-values for the t-test assumptions. All rows, expect the last one, correspond to the Shapiro-Wilk normality test for each group; the last row corresponds to Bartlett's for equality of variances. Columns correspond to the principal components on which the t-test was applied.
# Create a cmpoutput object from the provided datasets
cmp <- cmpoutput("All", c(0.5, 0.6, 0.7),
pphpc_ok$data[["All"]], pphpc_ok$obs_lvls)
# Obtain the summary of the assumptions of the cmpoutput object
summary(assumptions(cmp))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.