plot.Density-methods: Plot

plot,Density,ANY-methodR Documentation

Plot

Description

Plots an S4 object of class 'Density'

Plots an S4 object of class 'Density'

Usage

## S4 method for signature 'Density,ANY'
plot(x, y, strata = "all", title = "", scale = 1)

## S4 method for signature 'Density,Region'
plot(x, y, strata = "all", title = "", scale = 1, line.col = gray(0.2))

Arguments

x

object of class Density

y

object of class Region

strata

the strata name or number to be plotted. By default all strata will be plotted.

title

plot title

scale

used to scale the x and y values in the plot (warning may give unstable results when a projection is defined for the study area!)

line.col

sets the line colour for the shapefile

Value

ggplot object

ggplot object


dsims documentation built on May 29, 2024, 12:10 p.m.