Learn R Programming

NightDay (version 1.0.1.1)

plot.NighDay: Night and Day Boundary Plot Funtion

Description

Plots the boundary between night and day.

Usage

# S3 method for NightDay
plot(x, maps = 'world', add = FALSE, ...)

Arguments

x

an object of class NightDay.

maps

only 'world' implemented.

add

logical indicating whether the plot is added to an existing device.

additional arguments, currently not implemented.

Examples

Run this code
# NOT RUN {
Time <- Sys.time()
timezone <- 1

plot(NightDay(Time, timezone))
# }

Run the code above in your browser using DataLab