met_day_fun: Identify metabolic days in a swmpr time series

View source: R/met_day_fun.R

met_day_funR Documentation

Identify metabolic days in a swmpr time series

Description

Identify metabolic days in a time series based on sunrise and sunset times for a location and date. The metabolic day is considered the 24 hour period between sunsets for two adjacent calendar days.

Usage

met_day_fun(dat_in, tz, lat, long)

Arguments

dat_in

data.frame

tz

chr string for timezone, e.g., 'America/Chicago', must match the time zone in dat_in$DateTimeStamp

lat

numeric for latitude

long

numeric for longitude (negative west of prime meridian)

Details

This function is only used within ecometab and should not be called explicitly.

See Also

ecometab


fawda123/WtRegDO documentation built on March 18, 2024, 9:04 p.m.