plot.polymer: Plot polymer

View source: R/polymer.R

plot.polymerR Documentation

Plot polymer

Description

The default plot shows only the mesh. If show_intersection = TRUE, the part of the mesh that has 2 intersecting regions or more is contrasted to the rest.

Usage

## S3 method for class 'polymer'
plot(x, ..., show_intersection = FALSE)

Arguments

x

polymer

...

arguments to polypath

show_intersection

logical, plot the intersection region contrasted to the pool (default FALSE)

Value

the input, invisibly

Examples

plot(polymer(A, B, C))
library(sf)
example(st_read)
nc <- nc[1:5, ]
x <- polymer(nc, st_jitter(nc, amount = 0.1))
plot(x)

mdsumner/polymer documentation built on Feb. 5, 2024, 4:55 p.m.