apollo_setRows {apollo} | R Documentation |
Given a numeric object (scalar, vector, matrix or 3-dim array) sets a subset of rows to a given value.
apollo_setRows(v, r, val)
v |
Numeric scalar, vector, matrix or 3-dim array. Rows of this object will be replaced by |
r |
Boolean vector. As many elements as rows in |
val |
Numeric scalar. Value to which the specified rows must be set to. |
The same argument utilities
but with the rows where r==TRUE
set to val
.