drop,NeuroVec-method | R Documentation |
This function drops the last dimension of a NeuroVec object if it is of length 1.
This function drops the last dimension of a NeuroVec object if it is of length 1.
## S4 method for signature 'NeuroVec'
drop(x)
## S4 method for signature 'NeuroVec'
drop(x)
x |
The NeuroVec object. |
If the last dimension of the NeuroVec object is of length 1, a DenseNeuroVol object is returned. Otherwise, the original NeuroVec object is returned.
If the last dimension of the NeuroVec object is of length 1, a DenseNeuroVol object is returned. Otherwise, the original NeuroVec object is returned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.