Description Usage Arguments Details Value Author(s) Examples
Subsetting for ggobi datasets
1 2 |
x |
ggobi dataset |
i |
rows |
j |
cols |
drop |
drop dimensions? |
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.
desired subset from data.frame
Hadley Wickham <h.wickham@gmail.com>
1 2 3 4 5 6 7 | if (interactive()) {
g <- ggobi(mtcars)
x <- g$mtcars
x[1:5, 1:5]
x[[1]]
x$cyl}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.