mm_filter_hours: Limit to a specific time range on each date

View source: R/mm_filter_hours.R

mm_filter_hoursR Documentation

Limit to a specific time range on each date

Description

Within each date (as labeled by the 'date' column of data, select the values of solar.time that are within the time range specified by day_start and day_end). This function only removes rows and cannot add them; to add overlap starting from a continuous time series, see mm_model_by_ply.

Usage

mm_filter_hours(data, day_start, day_end)

Arguments

data

a data.frame containing date and solar.time columns (POSIXct)

day_start

the start time of each day, inclusive, in hours

day_end

the end time of each day, exclusive, in hours


USGS-R/streamMetabolizer documentation built on Aug. 15, 2023, 7:50 a.m.