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 29, 2017, 10:38 p.m.