plot.PointSim {spacejamr}R 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)


[Package spacejamr version 0.2.1 Index]