connectedsets.psp: Adds marks to connected segments in a psp

Description Usage Arguments Examples

View source: R/connectedsets.psp.R

Description

Adds marks to connected segments in a psp

Usage

1
connectedsets.psp(psp, conn.radius = 0, conn.angle = 2 * pi)

Arguments

psp

spatstat psp object.

conn.radius, conn.angle

segments will be assigned to belong to the same set if they have endings less than conn.radius units apart and if the form an angle less than conn.angle.

Examples

1
2
3
svgfile = system.file("extdata","SVG.svg", package = "svg2psp")
data = svg2psp(svgfile,reverse=TRUE,rescale=TRUE)
plot(connectedsets.psp(data))

xraynaud/svg2psp documentation built on Sept. 22, 2018, 9:42 p.m.