plot.cshp_mult {demcon}R Documentation

Plot A cshapes Multiple

Description

Plot A cshapes Multiple

Usage

## S3 method for class 'cshp_mult'
plot(x, y, ...)

Arguments

x

A list of class chsp_mult with multiple cshapes ggplot2::ggplot() devices produced by cshp_mult().

y

ignored.

...

Additional arguments to be passed to the plotting device.

Value

A single ggplot2::ggplot() device.

Examples


if(requireNamespace("cshapes")){
dates = c(
as.Date("1989-1-1"),
as.Date("1992-5-1"),
as.Date("1993-5-1"),
as.Date("2006-7-1"),
as.Date("2008-3-1"))

cow_codes = list(345,
                 c(344, 346, 349),
                 343,
                 341,
                 347)

bb<-c(xmin=13,ymin=40,xmax=24,ymax=47)

balkans<-cshp_mult(dates = dates, cowcodes = cow_codes,
                   bb = bb,jitter_labs = FALSE)

plot(balkans)
}

[Package demcon version 0.3.0 Index]