View source: R/tvec_to_dayvec.R
| tvec_to_dayvec | R Documentation |
Converts a vector of POSIXct or POSIXt into day or night
tvec_to_dayvec(
posix_time,
daystart = times("07:00:01"),
nightstart = times("19:00:00")
)
posix_time |
vector of times given in POSIXct or POSIXt format |
daystart |
time when the light phase starts |
nightstart |
time when the dark phase starts |
vector of day or night
## Not run:
test = tvec_to_dayvec(asdfsadf)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.