make_histogram: Histogram for Numeric Variable

View source: R/see_num_vars.R

make_histogramR Documentation

Histogram for Numeric Variable

Description

Create a histogram to display the distribution of a numeric variable.

Usage

make_histogram(data, num_var, bins = 30, title = "")

Arguments

data

dataset that contains the variables

num_var

name of the numeric variable as a string

bins

number of bins, default to 30

title

title of the plot

Value

none

Examples

make_histogram(ggplot2::diamonds, "price")

sarazong/SZRtools documentation built on Feb. 8, 2024, 6:49 a.m.