R/defaultLinkableStates.R

Defines functions hasDefaultLinkableStatesVar

.defaultLinkableStates_l_hist <- c("selected", "color", "active")
.defaultLinkableStates_l_plot <- c("selected", "color", "active", "size")
.defaultLinkableStates_l_plot3D <- c("selected", "color", "active", "size")
.defaultLinkableStates_l_serialaxes <- c("selected", "color", "active")
.defaultLinkableStates_l_graph <- c("selected", "color", "active", "size")

hasDefaultLinkableStatesVar <- function(l_className) {
    tryCatch(eval(parse(text = paste0(".defaultLinkableStates_", l_className))),
             error = function(e) {
                 warning(substitute(deparse(l_className)), " does not have linked states.")
             })
}

Try the loon package in your browser

Any scripts or data that you put into this service are public.

loon documentation built on June 14, 2021, 9:07 a.m.