Blog

We provide practical tutorials on data mining, visualization and statistics for decision making.

Version: Français

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the self-esteem score dataset measured over three time points. The data is available in the datarium package.

How to Perform Paired Pairwise T-tests in R

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) Data preparation We’ll use the self-esteem score dataset measured over three time points. The data is available in the datarium package.

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data mydata <- as_tibble(iris) mydata %>% sample_n(6) ## # A

How to Perform T-test for Multiple Variables in R: Pairwise Group Comparisons

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data mydata <- as_tibble(iris) mydata %>% sample_n(6) ## # A

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data data("PlantGrowth") set.seed(1234) PlantGrowth %>% sample_n_by(group, size = 1) ##

How to Perform T-test for Multiple Groups in R

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data data("PlantGrowth") set.seed(1234) PlantGrowth %>% sample_n_by(group, size = 1) ##

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data mydata <- iris %>% filter(Species != "setosa") %>% as_tibble()

How to Perform Multiple T-test in R for Different Variables

Prerequisites # Load required R packages library(tidyverse) library(rstatix) library(ggpubr) # Prepare the data and inspect a random sample of the data mydata <- iris %>% filter(Species != "setosa") %>% as_tibble()

Step 1. Load required packages library(devtools) library(rhub) Step 2. Inspect and choose R-hub platforms to run the check on rhub::platforms() ## debian-clang-devel: ## Debian Linux, R-devel, clang, ISO-8859-15 locale ##

How to Run CRAN Checks for a Package on R-hub

Step 1. Load required packages library(devtools) library(rhub) Step 2. Inspect and choose R-hub platforms to run the check on rhub::platforms() ## debian-clang-devel: ## Debian Linux, R-devel, clang, ISO-8859-15 locale ##

This article describes how to perform image processing in R using the magick R package, which is binded to ImageMagick library: the most comprehensive open-source image processing library available. The

Easy Image Processing in R using the Magick Package

This article describes how to perform image processing in R using the magick R package, which is binded to ImageMagick library: the most comprehensive open-source image processing library available. The

# 1. Load required R packages suppressPackageStartupMessages(library(ggpubr)) suppressPackageStartupMessages(library(rstatix)) # 2. Data preparation df <- ToothGrowth df$dose <- factor(df$dose) # 3. Statistical tests res.stats <- df %>% group_by(dose) %>% t_test(len ~

How to Create Stacked Bar Plots with Error Bars and P-values

# 1. Load required R packages suppressPackageStartupMessages(library(ggpubr)) suppressPackageStartupMessages(library(rstatix)) # 2. Data preparation df <- ToothGrowth df$dose <- factor(df$dose) # 3. Statistical tests res.stats <- df %>% group_by(dose) %>% t_test(len ~

This article describes the essentials of R coding style best practices. It’s based on the tidyverse style guide. Google’s current guide is also derived from the tidyverse style guide. Two

R Coding Style Best Practices

This article describes the essentials of R coding style best practices. It’s based on the tidyverse style guide. Google’s current guide is also derived from the tidyverse style guide. Two

This article describes how to read and write data from the clipboards using the R package clipr, which works well on Windows, OS X, and Unix-like systems. Note that on

How to Easily Read and Write Data from Clipboard in R

This article describes how to read and write data from the clipboards using the R package clipr, which works well on Windows, OS X, and Unix-like systems. Note that on

This article describes how to interpret the kappa coefficient, which is used to assess the inter-rater reliability or agreement. In most applications, there is usually more interest in the magnitude

Kappa Coefficient Interpretation

This article describes how to interpret the kappa coefficient, which is used to assess the inter-rater reliability or agreement. In most applications, there is usually more interest in the magnitude