How to Convert a List to a Dataframe in R – dplyr
Here are 4 examples in which you will learn how to convert a list to a dataframe in R.
How to Convert a List to a Dataframe in R – dplyr Read More »
R statistical programming related stuff
Here are 4 examples in which you will learn how to convert a list to a dataframe in R.
How to Convert a List to a Dataframe in R – dplyr Read More »
This data visualization tutorial will teach us how to make a violin plot in R using ggplot2. We can use several techniques to visualize data (see, for example, the Python-related post “9 Data Visualization Techniques You Should Learn in Python“) to visualize our data in r. Briefly described, violin plots combine a box plot and
How to Create a Violin plot in R with ggplot2 and Customize it Read More »
In this short tutorial, you will learn how to convert a matrix to a dataframe in R. Specifically, you will learn how to use base R and the package tibble to change the matrix to a dataframe. You will learn this task using four examples (2 using each method). Outline This post is structured as
How to Convert Matrix to dataframe in R with base functions & tibble Read More »
In this R tutorial, you will learn how to count the number of occurrences in a column. Sometimes, before starting to analyze your data, it may be useful to know how many times a given value occurs in your variables. For example, when you have a limited set of possible values that you want to
R Count the Number of Occurrences in a Column using dplyr Read More »
In this tutorial, you will learn how to do the Brown-Forsythe test in R. This test is great as you can use it to test the assumption of homogeneity of variances, which is important for, e.g. Analysis of Variance (ANOVA). Outline of the Post This post is structured as follows. First, we start by answering
How to Do the Brown-Forsythe Test in R: A Step-By-Step Example Read More »
In this guide, you will learn how to concatenate two columns in R. You will learn how to merge multiple columns in R using base R (e.g., using the paste function) and Tidyverse (e.g., using str_c() and unite()). In the final section of this post, you will learn which function is the best to use
How to Concatenate Two Columns (or More) in R – stringr, tidyr Read More »
In this short tutorial, you will learn how to find the five-number summary statistics in R. Specifically, in this post, we will calculate: Now, we will also visualize the five-number summary statistics using a boxplot. First, we will learn how to calculate each of the five summary statistics and then how we can use one
How to Calculate Five-Number Summary Statistics in R Read More »
In this R tutorial, you will learn how to work with $ in R. First, we will have a look at a couple of examples for a list object and then for a dataframe object.
How to use $ in R: list & dataframe Examples Read More »
In this data science tutorial, you will learn how to rename a column (or multiple columns) in R using base functions and dplyr. Renaming columns in R is very easy, especially using the rename() function. Now, renaming a column with dplyr and the rename() function is super simple. But, of course, it is not super
How to Rename Column (or Columns) in R with dplyr Read More »
This tutorial will cover how to calculate absolute value in R. it will cover how to compute absolute values using the built-in function abs(), e.g., abs(YourVector). The following section will give you a detailed outline of what this R tutorial covers.
How to Take Absolute Value in R – vector, matrix, & dataframe Read More »