plot.Climate: Plots the ppt and inst. ppt from a Climate object

View source: R/Climate.R

plot.ClimateR Documentation

Plots the ppt and inst. ppt from a Climate object

Description

Plots the ppt and inst. ppt from a Climate object

Usage

## S3 method for class 'Climate'
plot(cli, n = 1001, Date = NULL, plots = c("ppt_inst", "ppt_cum"))

Arguments

cli

a Climate object

n

(optional) a positive integer indicating how many points to evaluate for drawing

plots

(optional) a charcter vector indicating whether to draw the "ppt_inst", "ppt_cum", or both

date

a date string value with format "YYYY-MM-DD"

Value

a gtable containing plots of slope or elevation

See Also

expand_cli

Examples

cli <- read_cli(system.file("extdata", "092.63x040.90.cli", package="WEPPR"))
plot(cli)
plot(cli, date = "2017-09-21", plots=c("ppt_inst"))
plot(cli, date = "2017-09-21", plots=c("ppt_cum"))
plot(cli, date = "2017-09-21")


jarad/WEPPR documentation built on Nov. 3, 2023, 5:42 a.m.