l_getPlots.l_tour {loon.tourr} | R Documentation |
Query a loon widget
Description
A generic function to query the loon
(tcl) widget from the given target
Usage
## S3 method for class 'l_tour'
l_getPlots(target)
Arguments
target |
a |
Value
a loon
widget
Examples
if(interactive()) {
p <- l_tour(iris[, -5])
l_isLoonWidget(p) # FALSE
q <- l_getPlots(p)
l_isLoonWidget(q) # TRUE
# `l_compound` widget
p <- l_tour_pairs(tourr::flea[, -7])
l_isLoonWidget(p) # FALSE
q <- l_getPlots(p)
l_isLoonWidget(q) # FALSE
is(q, "l_compound") # TRUE
}
[Package loon.tourr version 0.1.4 Index]