playGetIDs {playwith} | R Documentation |
Part of the playwith Application Programming Interface.
playGetIDs(playState = playDevCur(), type = c("labelled", "brushed"), labels = FALSE) playSetIDs(playState = playDevCur(), value, type = "brushed", space = "plot", add = FALSE, redraw = NA, pos = 1) playClear(playState = playDevCur(), type = c("annotations", "labelled", "brushed"), redraw = TRUE)
playState |
a |
type |
which type of points to get or set subscripts for. |
labels |
|
value |
specifies the set of points to be selected. Can be an integer vector of subscripts, or a logical vector (not recycled). |
space |
the space to draw labels in if |
add |
if TRUE, add to any existing set of points; otherwise replace them. |
redraw |
whether to redraw the plot. The default |
pos |
position specifier for labels. |
Not yet.
playGetIDs
returns an integer vector, or if labels =
TRUE
a character vector.
Felix Andrews felix@nfrac.org
if (interactive()) { playwith(xyplot(1:100 ~ 1:100 | 1:2, subscripts = TRUE), labels = paste("label", 1:100, sep="")) playSetIDs(value = c(50:60, 100)) playGetIDs() playSetIDs(value = c(10, 20, 30), type = "labelled", space = "packet 1") playGetIDs(labels = TRUE) playClear() playGetIDs() }