ptrvListAnova: ptrvListAnova returns the two way mixed ANOVA product*subject...

View source: R/ptrvListAnova.r

ptrvListAnovaR Documentation

ptrvListAnova returns the two way mixed ANOVA product*subject (with random subject effect) for each ion

Description

ptrvListAnova returns the two way mixed ANOVA product*subject (with random subject effect) for each ion

Usage

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")
)

Arguments

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") )


ChemoSens/PTRMSR documentation built on June 15, 2025, 10:40 a.m.