Learn R Programming

puff (version 0.1.0)

is_day: Determine Whether a Time is During the Day

Description

This function checks the time and classifies it as day or not

Usage

is_day(time)

Value

A character T or F representing whether or not it is daytime.

Arguments

time

A time value that is used to determine whether it's day or night.

Examples

Run this code
out <- is_day(8)

Run the code above in your browser using DataLab