get--GGobi-7p: Get ggobi data.

Description Usage Arguments Details Author(s) Examples

Description

Conveniently retrieve ggobi dataset.

Usage

1
2
## S3 method for class '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

1
2
3
4
5
6
7
if (interactive()) {
g <- ggobi(ChickWeight)
g["cars"] <- mtcars
g[1:2]
g["ChickWeight"]
g["cars"]
g$cars}

rggobi documentation built on May 2, 2019, 6:41 a.m.