insertNAs | R Documentation |
Insert NA in a vector at given break points
insertNAs(v, w)
v |
original vector |
w |
break points |
Used for plotting lines that wrap around.
vector with NA inserted
Jonathan M. Lees<jonathan.lees@unc.edu>
a <- 1:20
b <- insertNAs(a, c(5, 12))
b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.