knitr::opts_chunk$set( collapse = TRUE, comment = "#>", echo = TRUE ) library(ggplot2)
R is first of all a programming language whose main goal is to analyze data and produce graphic representations.
But it is also open source, free and open source software that can be installed on all standard operating systems (Mac, Windows and Linux).
In addition, the community of R users provides 18261 (on 09/24/2021) packages which allow all imaginable statistical procedures to be applied, from the most classic to the most recent.
Rstudio is both the name of a non-profit company (B Corps ™) which provides the community with, among other things, Open Source, free and open source software. Among these softwares: the eponymous program editor Rstudio.
Rstudio is also available on all classic operating systems (Mac, Windows and Linux).
Rstudio allows programming in R in a reliable, rich and very complete environment. Its graphical interface has been designed to allow novice users to benefit from features to help them master the language, and many advanced features for seasoned users!
{width=25%}
{width=100%}
{width=90%}
$^\star$GUI = Graphical User Interface
{width=25%}
{width=80%}
{width=80%}
dat <- data.frame(x = rep(1:2, 2), y = rep(2:1, e = 2), P = factor(1:4)) img <- png::readPNG("img/S01rstudio/Rstudio4panneaux.png") g <- ggplot(dat, aes(x, y, fill = P, label = P)) + ggpubr::background_image(img) + geom_tile(show.legend = FALSE, alpha = 0.5) + geom_point(aes(color = P), size = 30, shape = 21, fill = "white", show.legend = FALSE) + geom_text(aes(color = P), vjust = 0.5, hjust = 0.5, size = 20, show.legend = FALSE) + theme_void() print(g)
print(g)
{width=80% loop=10}
"Because it will make your life easier!" -Anonymous
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.