histogram {FormulR}R Documentation

Generate histogram

Description

This function generates a histogram to visualize the distribution of a variable.

Usage

histogram(formulation_data, x, bins = 20)

Arguments

formulation_data

A data frame containing the formulation data.

x

The name of the variable.

bins

The number of bins for the histogram.

Value

A histogram.

Examples

formulation_data <- data.frame(
  Drug_Release = rnorm(100, mean = 50, sd = 10)
)
histogram(formulation_data, "Drug_Release")

[Package FormulR version 1.0.0 Index]