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