powered by
Number of observations plotted in a plot or associated PlotFeatureSet.
nObs(object)# S4 method for PlotFeatureSet nObs(object)# S4 method for trellis nObs(object)# S4 method for gTree nObs(object)# S4 method for PlotFeatureSet nObs(object)# S4 method for ggplot nObs(object)
# S4 method for PlotFeatureSet nObs(object)
# S4 method for trellis nObs(object)
# S4 method for gTree nObs(object)
# S4 method for ggplot nObs(object)
An object of class PlotFeatureSet, GGplotFeatureSet, TrellisFeatureSet, ggplot, or trellis.
An integer representing the number of observations in the plotted data.
# NOT RUN { library(ggplot2) mt = datasets::mtcars plt = qplot(mt$mpg, mt$cyl) fs = makeFeatureSet(plt) nObs(fs) # }
Run the code above in your browser using DataLab