drop_dim,AxisSet2D,numeric-method | R Documentation |
Drop dimension from axis set
## S4 method for signature 'AxisSet2D,numeric'
drop_dim(x, dimnum)
x |
An AxisSet2D or AxisSet3D object |
dimnum |
Numeric index of dimension to drop |
An axis set with one fewer dimension
## Not run:
axes3d <- AxisSet3D(LEFT_RIGHT, ANT_POST, INF_SUP)
axes2d <- drop_dim(axes3d, 1) # Drop first dimension
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.