plot.PointSim: Plot simulated points from a PointSim object

View source: R/PointSim.R

plot.PointSimR Documentation

Plot simulated points from a PointSim object

Description

Plots the results of points simulated in a PointProcess or HaltonSeq class, whcih obht inherit methods from the PointSim class.

Usage

## S3 method for class 'PointSim'
plot(x, y, ..., title = "Simulated Points", color = "red")

Arguments

x

an object of class PointSim or one of its child classes

y

ignored

...

ignored

title

an optional title. Default is "Simulated Points".

color

an optional color for the simulated points. Default is red.

Details

The returned plot can be refined with standard ggplot2 functions

Value

A plot of classes 'gg' and 'ggplot'

Author(s)

Darren Colby
Email: dscolby17@gmail.com

Examples

# Load spacejamr object
data("RI")

ri_points <- PointSim(points = 10, window = RI, seed = 42)
plot(ri_points)


spacejamr documentation built on April 2, 2022, 1:07 a.m.