subset_around_event: Subset Around Event

View source: R/subset_around_event.R

subset_around_eventR Documentation

Subset Around Event

Description

Subset Around Event

Usage

subset_around_event(data, var, from, time_var, time_radius = FALSE)

Arguments

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

Value

Subset of data frame around point in time


roaldarbol/sleepr documentation built on May 9, 2024, 11:30 p.m.