Learn R Programming

GEOmap (version 2.5-11)

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

Description

Break a line at specified indices into a list

Usage

GEOmap.breakline(Z, ww)

Value

newx

list x of strokes

newy

list y of strokes

Arguments

Z

list of x,y location values

ww

index vector of break locations

Author

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

Examples

Run this code

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)


Run the code above in your browser using DataLab