visible: Set or query the visibility of observations

Description Usage Arguments Value Author(s) See Also Examples

View source: R/data.R

Description

There is a column .visible to control the visibility of observations. This can be useful for “deleting” certain observations from the plot (set their visibility to FALSE).

Usage

1
2
3
visible(data)

visible(data) <- value

Arguments

data

the mutaframe

value

a logical vector of the length nrow(data)

Value

The function visible returns the logical vector to control the visibility of observations

Author(s)

Yihui Xie <http://yihui.name>

See Also

qdata

Examples

1
2
3
4
5
6
7
df <- qdata(iris)

visible(df)

visible(df) <- rep(c(TRUE, FALSE), c(100, 50))  # hide the last 50 obs

visible(df)

ggobi/cranvas documentation built on May 17, 2019, 3:10 a.m.