r library car_医学统计与R语言:双因素重复测量方差分析(Twoway repeated measures ANOVA)...
微信公众号:医学统计与R语言如果你觉得对你有帮助,欢迎转发输入1:setwd("C:\\Users\\mooshaa\\Desktop")rmarma$grouprma[sample(nrow(rma),5,replace=F),]结果1:group before middle after输入2:library(tidyr)longrma time,value=score,-id,-group)l