Conveniently retrieve ggobi dataset.
# S3 method for GGobi
[(x, i, ..., drop=TRUE)
GGobi object
name of dataset to retrive
ignored
if TRUE, return vector is possible
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.
# 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