plot_hist {daltoolbox}R Documentation

plot histogram

Description

plot histogram

Usage

plot_hist(data, label_x = "", label_y = "", color = "white", alpha = 0.25)

Arguments

data

data.frame contain x, value, and variable

label_x

x-axis label

label_y

y-axis label

color

color vector

alpha

transparency level

Value

ggplot graphic

Examples

grf <- plot_hist(iris |> dplyr::select(Sepal.Width), color=c("blue"))
plot(grf)

[Package daltoolbox version 1.0.767 Index]