dim.ggobiDataset {Rggobi}R Documentation

Accessors for GGobi Dataset

Description

Usage

dim.ggobiDataset(d)
dimnames.ggobiDataset(d)
nrow.ggobiDataset(d)
ncol.ggobiDataset(d)

Arguments

d the dataset reference

Details

These are methods that

Value

nrow and ncol return the number of records and variables respectively in the GGobi dataset. dim returns (nrow(d), ncol(d)). And dimnames returns a list of length 2 containing the row labels and the variable names respectively for the dataset.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

[[.ggobi [.ggobi

Examples

  data(mtcars)
  g <- ggobi(mtcars, args = "-noinit")
  dim(g[[1]])
  nrow(g[[1]])
  ncol(g[[1]])

[Package Rggobi version 1.1-2 Index]