rggobi (version 2.1.22)

"[.GGobi": Get ggobi data.

Description

Conveniently retrieve ggobi dataset.

Usage

# S3 method for 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.

Examples

Run this code
# NOT RUN {
if (interactive()) {
g <- ggobi(ChickWeight)
g["cars"] <- mtcars
g[1:2]
g["ChickWeight"]
g["cars"]
g$cars}
# }

Run the code above in your browser using DataLab