powered by
Get or set the number of layers associated with a GGplotFeatureSet object. This should not be called directly.
nLayers(object) <- valuenLayers(object)# S4 method for PlotFeatureSet nLayers(object)# S4 method for ggplot nLayers(object)# S4 method for trellis nLayers(object)# S4 method for gTree nLayers(object)# S4 method for GGplotFeatureSet nLayers(object) <- value# S4 method for GGplotFeatureSet nLayers(object)
nLayers(object)
# S4 method for PlotFeatureSet nLayers(object)
# S4 method for ggplot nLayers(object)
# S4 method for trellis nLayers(object)
# S4 method for gTree nLayers(object)
# S4 method for GGplotFeatureSet nLayers(object) <- value
# S4 method for GGplotFeatureSet nLayers(object)
An object of class GGplotFeatureSet. For accession, also plot objects of class ggplot.
An integer representing the number of layers in the plot.
A modified object of class GGplotFeatureSet.
# NOT RUN { library(ggplot2) mt = datasets::mtcars plt = qplot(mt$mpg, mt$cyl) fs = makeFeatureSet(plt) nLayers(fs) # }
Run the code above in your browser using DataLab