fitur 0.5.25 Release

March 13, 2018

(This article was first published on R on Thomas Roh, and kindly contributed to R-bloggers)

  • Fixed appearance of plots

  • Added plot_density function for comparison pdfs of fitted functions

  • Updated argument naming conventions

fitur on CRAN

Density Diagnostic Plot

x <- rgamma(10000, 5)
dists <- c('gamma', 'lnorm', 'weibull')
fits <- lapply(dists, fit_univariate, x = x)
plot_density(x, fits, nbins = 20)


The output is a ggplot object so you can add colors, styling, etc.

plot_pp(x, fits) +


You can also zoom in on different areas.

plot_qq(x, fits) +
  scale_color_tr() +
  coord_cartesian(xlim = c(5,10))

To leave a comment for the author, please follow the link and comment on their blog: R on Thomas Roh. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)