Blog Archives

Regression Analysis Essentials For Machine Learning

March 21, 2018
By

Regression analysis consists of a set of machine learning methods that allow us to predict a continuous outcome variable (y) based on the value of one or multiple predictor variables (x). Briefly, the goal of regression model is to build a mathematical equation that defines y as a function of the x variables. Next, this equation can be...

Read more »

ggpubr: Create Easily Publication Ready Plots

September 14, 2017
By
ggpubr: Create Easily Publication Ready Plots

The ggpubr R package facilitates the creation of beautiful ggplot2-based graphs for researcher with non-advanced programming backgrounds. The current material presents a collection of articles for simply creating and customizing publication-ready...

Read more »

The Ultimate Guide To Partitioning Clustering

September 6, 2017
By
The Ultimate Guide To Partitioning Clustering

In this first volume of symplyR, we are excited to share our Practical Guides to Partioning Clustering. The course materials contain 3 chapters organized as follow: K-Means Clustering Essentials Contents: K-means basic ideas K-means algorithm ...

Read more »

Practical Guide to Principal Component Methods in R

August 24, 2017
By
Practical Guide to Principal Component Methods in R

Introduction Although there are several good books on principal component methods (PCMs) and related topics, we felt that many of them are either too theoretical or too advanced. This book provides a solid practical guidance to summarize, visu...

Read more »

simplyR

August 19, 2017
By

simplyR is a web space where we’ll be posting practical and easy guides for solving real important problems using R programming language. As we aren’t fans of unnecessary complications, we’ll keep the content of our tutorials / R codes as simpl...

Read more »

Elegant correlation table using xtable R package

August 7, 2017
By
Elegant correlation table using xtable R package

Correlation matrix analysis is an important method to find dependence between variables. Computing correlation matrix and drawing correlogram is explained here. The aim of this article is to show you how to get the lower and the upper triangular part of a correlation matrix. We will also use the xtable R package to...

Read more »

Saving High-Resolution ggplots: How to Preserve Semi-Transparency

August 4, 2017
By
Saving High-Resolution ggplots: How to Preserve Semi-Transparency

This article describes solutions for preserving semi-transparency when saving a ggplot2-based graphs into a high quality postscript (.eps) file format. Contents: Create a ggplot with semi-transparent color Save ggplots with semi-transparent colors Use cairo-based postscript graphics devices Export to powerpoint Create a ggplot with semi-transparent color To illustrate this, we start by creating ggplot2-based survival curves using the function ggsurvplot() in the...

Read more »

F-Test: Compare Two Variances in R

August 2, 2017
By
F-Test: Compare Two Variances in R

F-test is used to assess whether the variances of two populations (A and B) are equal. Contents When to you use F-test? Research questions and statistical hypotheses Formula of F-test Compute F-test in R R function Import and check your data into R Preleminary test to check F-test assumptions Compute F-test Interpretation of the result Access to the values returned by var.test() function Infos When to...

Read more »

ggplot2 – Easy way to mix multiple graphs on the same page

July 26, 2017
By
ggplot2 – Easy way to mix multiple graphs on the same page

To arrange multiple ggplot2 graphs on the same page, the standard R functions - par() and layout() - cannot be used. The basic solution is to use the gridExtra R package, which comes with the following functions: grid.arrange() and arrangeGrob() to arrange multiple ggplots on one page marrangeGrob() for arranging multiple ggplots over multiple pages. However, these...

Read more »

Bar Plots and Modern Alternatives

June 28, 2017
By
Bar Plots and Modern Alternatives

This article describes how to create easily basic and ordered bar plots using ggplot2 based helper functions available in the ggpubr R package. We’ll also present some modern alternatives to bar plots, including lollipop charts and cleveland’s dot plots. Note that, the approach to build a bar plot, using ggplot2 standard verbs, has been...

Read more »

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)