P15 latency rmANOVA_robust.R 573 B

12345678910
  1. setwd("/Users/giacomoguidali/Library/CloudStorage/GoogleDrive-g.guidali@campus.unimib.it/Il mio Drive/Post-Doc BS/MoBi P15/4 - Analisi/TEP/P15/Robust ANOVA") #set directory
  2. rm(list = ls()) # pulisco il workspace, male non fa
  3. library(WRS2)
  4. M1P15latency_raw <- read.csv("P15latency_robustANOVA.csv",header=T,sep=";", dec=",") #importo database
  5. #rmANOVA + post-hoc
  6. rmanova(M1P15latency_raw$Latency, M1P15latency_raw$Condition, M1P15latency_raw$Subject , tr = 0.2)
  7. rmmcp(M1P15latency_raw$Latency, M1P15latency_raw$Condition, M1P15latency_raw$Subject, tr = 0.2, alpha = 0.05)