Description Usage Arguments Value Examples
Number of observations plotted in a plot or associated PlotFeatureSet.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
object |
An object of class PlotFeatureSet, GGplotFeatureSet, TrellisFeatureSet, ggplot, or trellis. |
An integer representing the number of observations in the plotted data.
1 2 3 4 5 | library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
nObs(fs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.