powered by
Get the variable types from a plot feature set
dataTypes(object)# S4 method for PlotFeatureSet dataTypes(object)# S4 method for ggplot dataTypes(object)# S4 method for trellis dataTypes(object)# S4 method for gTree dataTypes(object)# S4 method for PlotFeatureSet dataTypes(object)
# S4 method for PlotFeatureSet dataTypes(object)
# S4 method for ggplot dataTypes(object)
# S4 method for trellis dataTypes(object)
# S4 method for gTree dataTypes(object)
An object of class PlotFeatureSet, GGplotFeatureSet, TrellisFeatureSet, ggplot, or trellis.
A named list of variable types of the form list(x = "numeric", y = "factor", ...).
# NOT RUN { library(ggplot2) mt = datasets::mtcars plt = qplot(mt$mpg, mt$cyl) fs = makeFeatureSet(plt) dataTypes(fs) # }
Run the code above in your browser using DataLab