I am using the ukpolice
package.
Using the dplyr
package, we had to create a new dataframe that consists of the mean and standard deviation per category per month (which is a columnn of an already established dataframe).
We did the following:
crimes_cat_calc <- crimes_cat_month %>%
group_by(month) %>%
summarize (mean=mean(number, na.rm=TRUE).
However, the new dataframe is not established. What am I doing wrong?