Break a line at specified indeces into a list

Share:

Description

Break a line at specified indices into a list

Usage

1

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

1
2
3
4
5
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.