get--GGobiData-9v: Subsettting

Description Usage Arguments Details Value Author(s) Examples

Description

Subsetting for ggobi datasets

Usage

1
2
## S3 method for class 'GGobiData'
x[i, j, drop=FALSE]

Arguments

x

ggobi dataset

i

rows

j

cols

drop

drop dimensions?

Details

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.

Value

desired subset from data.frame

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

1
2
3
4
5
6
7
if (interactive()) {

g <- ggobi(mtcars)
x <- g$mtcars
x[1:5, 1:5]
x[[1]]
x$cyl}

ggobi/rggobi documentation built on May 17, 2019, 3:15 a.m.