ggplot2 axis scales and transformations
Prepare the data Example of plots Change x and y axis limits Use xlim() and ylim() functions Use expand_limts() function Use scale_xx() functions Axis transformations Log and sqrt transformations...
View Articleggplot2 line types : How to change line types of a graph in R software?
Line types in R Basic line plots Generate some data Create line plots and change line types Line plot with multiple groups Create some data Change globally the appearance of lines Change automatically...
View Articleggplot2 add straight lines to a plot : horizontal, vertical and regression lines
geom_hline : Add horizontal lines geom_vline : Add vertical lines geom_abline : Add regression lines geom_segment : Add a line segment Infos This tutorial describes how to add one or more straight...
View Articleggplot2 point shapes
Point shapes in R Create some data Basic scatter plots Scatter plots with multiple groups Change the point shapes, colors and sizes automatically Change point shapes, colors and sizes manually : Infos...
View Articleggplot2 line plot : Quick start guide - R software and data visualization
Basic line plots Data Create line plots with points Line plot with multiple groups Data Create line plots Change line types by groups Change line colors by groups Change the legend position Line plot...
View Articleggplot2 themes and background colors : The 3 elements
Prepare the data Example of plot Quick functions to change plot themes Customize the appearance of the plot background Change the colors of the plot panel background and the grid lines Remove plot...
View ArticleBe Awesome in ggplot2: A Practical Guide to be Highly Effective - R software...
Basics ggplot2 is a powerful and a flexible R package, implemented by Hadley Wickham, for producing elegant graphics. The gg in ggplot2 means Grammar of Graphics, a graphic concept which describes...
View Articleggplot2 density plot : Quick start guide - R software and data visualization
Prepare the data Basic density plots Change density plot line types and colors Change density plot colors by groups Calculate the mean of each group : Change line colors Change fill colors Change the...
View Articleggplot2 texts : Add text annotations to a graph in R software
Install required packages Create some data Text annotations using geom_text and geom_label Change the text color and size by groups Add a text annotation at a particular coordinate annotation_custom :...
View ArticleOne-Way ANOVA Test in R
What is one-way ANOVA test? Assumptions of ANOVA test How one-way ANOVA test works? Visualize your data and compute one-way ANOVA in R Import your data into R Check your data Visualize your data...
View Articlet test formula
t-test definition One-sample t-test formula Independent two sample t-test What is independent t-test ? Independent t-test formula Paired sample t-test What is paired t-test ? Paired t-test formula...
View ArticleNormality Test in R
Install required R packages Load required R packages Import your data into R Check your data Assess the normality of the data in R Case of large sample sizes Visual methods Normality test Infos Many...
View ArticleTwo-Way ANOVA Test in R
What is two-way ANOVA test? Two-way ANOVA test hypotheses Assumptions of two-way ANOVA test Compute two-way ANOVA test in R: balanced designs Import your data into R Check your data Visualize your...
View ArticlePaired Samples T-test in R
What is paired samples t-test? Research questions and statistical hypotheses Formula of paired samples t-test Visualize your data and compute paired t-test in R R function to compute paired t-test...
View ArticleOne-Sample T-test in R
What is one-sample t-test? Research questions and statistical hypotheses Formula of one-sample t-test Visualize your data and compute one-sample t-test in R Install ggpubr R package for data...
View ArticleOne-Sample Wilcoxon Signed Rank Test in R
What’s one-sample Wilcoxon signed rank test? Research questions and statistical hypotheses Visualize your data and compute one-sample Wilcoxon test in R Install ggpubr R package for data visualization...
View ArticleUnpaired Two-Samples T-test in R
What is unpaired two-samples t-test? Research questions and statistical hypotheses Formula of unpaired two-samples t-test Visualize your data and compute unpaired two-samples t-test in R Install...
View ArticleUnpaired Two-Samples Wilcoxon Test in R
Visualize your data and compute Wilcoxon test in R R function to compute Wilcoxon test Import your data into R Check your data Visualize your data using box plots Compute unpaired two-samples Wilcoxon...
View ArticlePaired Samples Wilcoxon Test in R
Visualize your data and compute paired samples Wilcoxon test in R R function Import your data into R Check your data Visualize your data using box plots Compute paired-sample Wilcoxon test Online...
View ArticleMANOVA Test in R: Multivariate Analysis of Variance
What is MANOVA test? Assumptions of MANOVA Interpretation of MANOVA Compute MANOVA in R Import your data into R Check your data Compute MANOVA test See also Infos What is MANOVA test? In the situation...
View Article