Berarti dari Row DataFrame di R

# row wise mean using rowMeans()
df1$Avg_score = rowMeans(df1[,c(2,3,4)])
Rocku0