R: Break a line at specified indeces into a list

GEOmap.breakline {GEOmap} | R 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)

[Package GEOmap version 2.4-0 Index]