HistogramDataMapping | R Documentation |
R6 class for mapping x
, bins
, binwidth
,stack
and distribution
to data
tlf::XYDataMapping
-> tlf::XYGDataMapping
-> HistogramDataMapping
frequency
logical defining if histogram displays a frequency in y axis
stack
logical defining if histogram bars should be stacked
bins
number of bins or binning values/methods passed on ggplot2::geom_histogram
binwidth
width of bins passed on ggplot2::geom_histogram
. Overwrites bins
distribution
Name of distribution to fit to the data.
Only 2 distributions are currently available: "normal"
and "logNormal"
new()
Create a new HistogramDataMapping
object
HistogramDataMapping$new( frequency = FALSE, stack = FALSE, bins = NULL, binwidth = NULL, distribution = NULL, ... )
frequency
logical defining if histogram displays a frequency in y axis
stack
logical defining if histogram bars should be stacked
bins
argument passed on ggplot2::geom_histogram
binwidth
width of bins passed on ggplot2::geom_histogram
. Overwrites bins
distribution
Name of distribution to fit to the data.
Only 2 distributions are currently available: "normal"
and "logNormal"
...
parameters inherited from XYGDataMapping
A new HistogramDataMapping
object
clone()
The objects of this class are cloneable with this method.
HistogramDataMapping$clone(deep = FALSE)
deep
Whether to make a deep clone.
Other DataMapping classes:
BoxWhiskerDataMapping
,
CumulativeTimeProfileDataMapping
,
DDIRatioDataMapping
,
GroupMapping
,
Grouping
,
ObsVsPredDataMapping
,
ObservedDataMapping
,
PKRatioDataMapping
,
PieChartDataMapping
,
QQDataMapping
,
RangeDataMapping
,
ResVsPredDataMapping
,
ResVsTimeDataMapping
,
TimeProfileDataMapping
,
TornadoDataMapping
,
XYDataMapping
,
XYGDataMapping
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.