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

View source: R/GridData.R

drop_GridR Documentation

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

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

IRSN/smint documentation built on Dec. 9, 2023, 9:53 p.m.