View source: R/apollo_insertRows.R
| apollo_insertRows | R Documentation |
Given a numeric object (scalar, vector, matrix or 3-dim array) inserts rows in the specified places.
apollo_insertRows(v, r, val)
v |
Numeric scalar, vector, matrix or 3-dim array. |
r |
Boolean vector. TRUE for inserting a row from |
val |
Numeric scalar. Value that will fill new rows. |
In general, r should be longer than the number of rows in utilities, and sum(r)=nrow(v).
If not, then a new object with as many rows as r will be returned. Old rows will be taken
from utilities from the top down.
The same argument v but with rows added where r==FALSE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.