"[.GGobi" {rggobi}R Documentation

Get ggobi data.

Description

Conveniently retrieve ggobi dataset.

Usage

"[.GGobi"(x, i, ..., drop=TRUE)

Arguments

x

GGobi object

i

name of dataset to retrive

...

ignored

drop

if TRUE, return vector is possible

Details

It is convenient to be able to refer to and operate on a ggobi dataset as if it were a regular R dataset. This function allows one to get an GGobiData object that represents a particular dataset.

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

g <- ggobi(ChickWeight)
g["cars"] <- mtcars
g[1:2]
g["ChickWeight"]
g["cars"]
g$cars

[Package rggobi version 2.1.17 Index]