Description Usage Arguments Details Value
Add rmt3dms array class to object based on object dimensions
1 2 3 4 5 6 7 |
obj |
object to add class to |
dim |
the dim attribute for the array to be created; by default, dim(obj) is used |
solute |
integer vector specifying the solute species this array represents. Defaults to |
kper |
integer vector specifying the stress periods in which the array is active. Used for defining boundary conditions. Defaults to |
dimlabels |
character vector specifying the labels of the dimensions; defaults to |
subsetting a rmt_array
will return a rmt_array
as long as the object has a dim argument (i.e. has 2 or more free dimensions). Atomic vectors are therefore never rmt_arrays
.
When l
is not specified when subsetting a rmt_4d_array
, a rmt_4d_array
will always be returned.
Furthermore, unlike subsetting arrays
, dimensions with length 1 will not be dropped unless the drop
argument is set to TRUE
either a rmt_2d_array
, a rmt_3d_array
or rmt_4d_array
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.