powered by
This function generates a histogram to visualize the distribution of a variable.
histogram(formulation_data, x, bins = 20)
A histogram.
A data frame containing the formulation data.
The name of the variable.
The number of bins for the histogram.
formulation_data <- data.frame( Drug_Release = rnorm(100, mean = 50, sd = 10) ) histogram(formulation_data, "Drug_Release")
Run the code above in your browser using DataLab