powered by
Subsetting for ggobi datasets
# S3 method for GGobiData [(x, i, j, drop=FALSE)
ggobi dataset
rows
cols
drop dimensions?
desired subset from data.frame
This functions allow one to treat a ggobi dataset as if it were a local data.frame. One can extract and assign elements within the dataset.
This method works by retrieving the entire dataset into R, and then subsetting with R.
# NOT RUN { if (interactive()) { g <- ggobi(mtcars) x <- g$mtcars x[1:5, 1:5] x[[1]] x$cyl} # }
Run the code above in your browser using DataLab