GEOmap.breakline: Break a line at specified indeces into a list

View source: R/GEOmap.breakline.R

GEOmap.breaklineR Documentation

Break a line at specified indeces into a list

Description

Break a line at specified indices into a list

Usage

GEOmap.breakline(Z, ww)

Arguments

Z

list of x,y location values

ww

index vector of break locations

Value

newx

list x of strokes

newy

list y of strokes

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples


Y=list()
Y$x=c(170,175,184,191,194,190,177,166,162,164)
Y$y=c(-54,-60,-60,-50,-26,8,34,37,10,-15)

GEOmap.breakline(Y, 5)



GEOmap documentation built on Sept. 1, 2023, 5:09 p.m.