View source: R/subset_around_event.R
subset_around_event | R Documentation |
Subset Around Event
subset_around_event(data, var, from, time_var, time_radius = FALSE)
data |
Data frame |
var |
Variable to center around |
from |
Reference point (e.g. "Day"/"Night") |
time_var |
Which variable represents time |
time_radius |
Time around point |
Subset of data frame around point in time
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.