March 2019
Beginner to intermediate
448 pages
13h 14m
English
In the following example, we will load scores (Math, History, and Physics) for two classes and we will be interested in assessing whether the means are the same or not between them:
library(Hotelling)data1 = read.csv("./class1.csv")data2 = read.csv("./class2.csv")sapply(data1,mean)sapply(data2,mean)
The preceding code generate the following output:

Read now
Unlock full access