The ‘see’ package: beautiful figures for easystats

May 26, 2019
By

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

The see package

We have recently decided to collaborate around the new easystats project, a set of packages designed to make your life easier. This project encompasses several packages, devoted for instance to model access or Bayesian analysis, indices of model performance or visualisation.

Without further ado, please let us introduce the latest addition to the easyverse; the see package!

Essentially, see is the visualisation companion to other functions and packages in easystats. See the list of functions here. However, it also includes some nice themes and geoms:

Examples

  • Better looking points with modern theme and flat design colours
library(see)
library(ggplot2)

ggplot(iris, aes(x = Sepal.Width, y = Sepal.Length, color = Species)) +
  geom_point2(size=4, alpha=0.5) +
  scale_color_flat_d() +
  theme_modern()

  • Violin plot with blackboard theme and material design colours
ggplot(iris, aes(x = Species, y = Sepal.Length, fill = Species)) + 
  geom_violindot(fill_dots = "white") + 
  scale_fill_material_d() +
  theme_blackboard()

  • Abyss theme
library(bayestestR)
library(rstanarm)

model <- rstanarm::stan_glm(mpg ~ wt + gear + cyl + disp, data = mtcars)

result <- equivalence_test(model, ci = c(.89, .95))

plot(result) +
  theme_abyss() +
  scale_fill_flat()

Get Involved

There is definitely room for improvement, and some new exciting features are already planned. Feel free to let us know how we could further improve this package!

To conclude, note that easystats is a new project in active development. Thus, do not hesitate to contact us if you want to get involved 🙂

  • Check out our other blog posts here!

To leave a comment for the author, please follow the link and comment on their blog: R on easystats.

R-bloggers.com 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

Sponsors

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)