View source: R/count_time_events.R
count_time_events | R Documentation |
Count time-stamped events
count_time_events(
event_dates,
event_type = c("year", "month", "week", "day", "hour", "minute"),
event_all_possible = NULL
)
event_dates |
vector of class "Date" of events to be counts |
event_type |
'year', 'month', 'week', 'day', 'hour' or 'minute' |
event_all_possible |
(optional) specify all possible dates to count used to count event_type's with zero values. |
table of counts for each event by event_type
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.