My hope is to create a large summary table that contains all of the VARIABLES in my dataset and shows the OVERALL mean and standard deviation for the full sample and also by different GRADES (like the picture). It is also important that factor type variables like TEACHER in the example show the different levels.
I have made an attempt to do this in DPLYR but it does not seem to work in my favor
select(data) %>%
group_by(GRADE) %>%
summarise(mean(),std())
And here is some sample data so I would want to mean and st.dev.
have <- data.frame("CLASS_SIZE"=c(25,26,24,22,35,36),
"FEMALE"=c(.53,.55,.67,.67,.55,.47),
"TEACHERS"=c(1,1,1,2,3,3),
"GRADE"=c('A','A','B','B','C','C'))