insertNAs: Insert NA in a vector at given break points

Description Usage Arguments Details Value Author(s) Examples

View source: R/insertNAs.R

Description

Insert NA in a vector at given break points

Usage

1
insertNAs(v, w)

Arguments

v

original vector

w

break points

Details

Used for plotting lines that wrap around.

Value

vector with NA inserted

Author(s)

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

Examples

1
2
3
a  <-  1:20
b  <-  insertNAs(a, c(5, 12))
b 


RSEIS documentation built on May 19, 2017, 9:08 p.m.
Search within the RSEIS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.