extract_dim | R Documentation |
Set the correct dimension attribute for an object
extract_dim(space, dtype)
space |
The space with the selection that was used to read the dataset |
dtype |
The datatype of the dataset |
x |
an object that was read from an HDF5 dataset or attribute |
This function uses the space and the selection in it to set the correct dimension for the resulting object (but without dropping dimensions). Furthermore, if the datatype is an array, those dimensions are correctly determined as well.
Internal use only; currently unused
x
, but with a new dimension attribute
Holger Hoefling
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.