extract_dim {hdf5r} | R Documentation |
Get the correct dimensions for a space and datatype
extract_dim(space, dtype)
space |
The space with the selection that was used to read the dataset |
dtype |
The datatype of the dataset |
This function uses the space and the selection in it to get 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