Im having trouble creating a table that count all the activities recorded at a specific time (30 min intervals).. please help
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
library(ggplot2)
tud <- monday
#> Error in eval(expr, envir, enclos): object 'monday' not found
# create a table of time and activity count for every 30min intervals
table <- monday %>%
group_by(Time) %>%
mutate(count = summarize(count = n()))
#> Error in eval(lhs, parent, parent): object 'monday' not found
Created on 2019-11-29 by the reprex package (v0.3.0)