cont_hist | R Documentation |
cont_hist_list
is a vectorized version
of cont_hist
. pm_histogram
is a generic histogram
function that is called by other functions in pmplots.
cont_hist(
df,
x,
xs = defx(),
y = "count",
add_density = y == "density",
add_layers = TRUE,
...
)
cont_hist_list(df, x, ...)
pm_histogram(
...,
col = opts$histogram.col,
fill = opts$histogram.fill,
alpha = opts$histogram.alpha
)
df |
the data frame containing plotting data. |
x |
the x column for |
xs |
a list of information for the x axis. |
y |
what to use for the y-axis on the histogram; can be
|
add_density |
if |
add_layers |
extra layers will be added only if |
... |
passed to |
col |
a character value passed to |
fill |
a character value passed to |
alpha |
a numeric value passed to |
A single plot.
data <- data.frame(WT = rnorm(1000,80,20))
cont_hist(data, x = "WT//Weight (kg)")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.