Learn R Programming

smint (version 0.4.0)

drop_Grid: Drop the dimensions with a unique level in a Grid object

Description

Drop the dimensions with a unique level in a Grid object.

Usage

drop_Grid(x, ...)

Arguments

x
An object with class Grid
...
Not used yet.

Value

  • An object of class Grid but with the fixed dimensions removed.

See Also

The usual drop function for arrays.

Examples

Run this code
myGD <- Grid(nlevels = c(3, 1, 4, 1, 5))
myGD
plot(myGD)
myGD1 <- drop_Grid(myGD)

Run the code above in your browser using DataLab