View source: R/marginalMeans.R
marginalMeans | R Documentation |
This function calculates the marginal means of x according to the different ANOVA types
marginalMeans( means, freq, k.levels = NULL, type = c("I", "II", "III", "ATE"), fixed = NA )
means |
matrix of means, the columns denote the covariates and the rows the different x levels |
freq |
matrix of frequencies, the columns denote the covariates and the rows the different x levels |
k.levels |
numeric vector with the number of levels for all covariates (K1, K2, ...) |
type |
numeric or character vector denoting the ANOVA types to be calculated (allowed values are any of the following: "I", 1, "II", 2, "III", 3, "ATE") |
fixed |
numeric vector with the levels the corresponding covariates should be fixed to (NA for no fixing) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.