"[.GGobiData" {rggobi}R Documentation

Subsettting

Description

Subsetting for ggobi datasets

Usage

"[.GGobiData"(x, i, j, drop=FALSE)

Arguments

x arguments for generic data.frame subset function
i drop dimensions?
j
drop

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

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

[Package rggobi version 2.1.9 Index]