Learn R Programming

RSEIS (version 2.6-0)

insertNAs: Insert NA in a vector at given break points

Description

Insert NA in a vector at given break points

Usage

insertNAs(v, w)

Arguments

Value

  • vector with NA inserted

Details

Used for plotting lines that wrap around.

Examples

Run this code
a = 1:20
b = insertNAs(a, c(5, 12))
b

Run the code above in your browser using DataLab