powered by
Generate standard error of mean
df_sem(data, x)
A data frame, generally grouped by the intended sub-groups which you want to compare for the same t-test.
A (bare) column name of the variable which you want to get the mean, sd, and standard error of the mean (SEM).
A data.frame with consisting of characters. The columns that are always present are: group variable(s), mean, sd, n, and se(SEM).
data.frame
group variable(s)
mean
sd
n
se
# NOT RUN { df_sem(color_index, color_index) library(magrittr) color_index %>% df_sem(color_index) # }
Run the code above in your browser using DataLab