Skip to content

stat545ubc-2021/maggieliu545ba2

Repository files navigation

maggieliu545ba2

This package provides a function plot_hist_with_density that plots a histogram of a column from a specified dataset, and a smooth density curve overlayed on the histogram. The function allows for customizable parameters for visualization.

Installation

You can install maggieliu545ba2 using

devtools::install_github("stat545ubc-2021/maggieliu545ba2")

and load the package with

library("maggieliu545ba2")

Example

Below is an example of using the function plot_hist_with_density:

library(maggieliu545ba2)
(plot_hist_with_density(
  data=iris,
  column=Sepal.Length,
  xlab="Sepal Length",
  title="Histogram and density plot of sepal length"))

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages