View source: R/ptrvListAnova.r
ptrvListAnova | R Documentation |
ptrvListAnova returns the two way mixed ANOVA product*subject (with random subject effect) for each ion
ptrvListAnova(
df,
ionToRemove = NULL,
log = FALSE,
normalizeByEval = FALSE,
model = "intensity~product+(1|subject)+(1|product:subject)",
alpha = 0.05,
columns = c("G_Mean", "F_Product", "P_Product", "F_Product_Significance", "SE_Product",
"R2", "P_ShapiroWilks", "P_Levene_Product", "Mean_Product", "Group_Product",
"P_Subject")
)
df |
data frame with "ion","intensity","product","subject" columns, |
ionToRemove |
vector of ion to remove from the analysis |
log |
if TRUE the data is logged |
normalizeByEval |
if TRUE, each evaluation (row) of the matrix is divided by the sum of all the variables for this evaluation (row sum) |
model |
"intensity~product+(1|subject)+(1|product:subject)" or other model containing these factors |
alpha |
limit of significance |
columns |
choose between c("G_Mean","F_Product","P_Product","F_Product_Significance","SE_Product","R2","P_ShapiroWilks","P_Levene_Product","Mean_Product","Group_Product","P_Subject") ) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.