Description Usage Arguments Details Value Author(s) See Also Examples
Part of the playwith Application Programming Interface.
1 2 3 4 5 6 7 8 9 10 11 | 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
playwith.API
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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()
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.