Erik Marsja
  • Home
  • Programming
    • Python Tutorials
      • Data Analysis
      • Pandas Tutorials
      • Data Visualization
      • Python for Data Collection Tutorials
    • R
  • CV
  • Contact
  • Python & R resources
Select Page
R Count the Number of Occurrences in a Column using dplyr

R Count the Number of Occurrences in a Column using dplyr

by Erik Marsja | Apr 27, 2021 | Programming, R

In this R tutorial, you are going to 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...
How to Do the Brown-Forsythe Test in R: A Step-By-Step Example

How to Do the Brown-Forsythe Test in R: A Step-By-Step Example

by Erik Marsja | Apr 14, 2021 | Programming, R

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...
How to Concatenate Two Columns (or More) in R – stringr, tidyr

How to Concatenate Two Columns (or More) in R – stringr, tidyr

by Erik Marsja | Feb 14, 2021 | Programming, R

In this guide you will learn how to concatenate two columns in R. In fact, 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...
How to Calculate Five-Number Summary Statistics in R

How to Calculate Five-Number Summary Statistics in R

by Erik Marsja | Jan 18, 2021 | Programming, R

In this short tutorial, you will learn how to find the five-number summary statistics in R. Specifically, in this post we will calculate: MinimumLower-hingeMedianUpper-hingeMaximum Now, we will also visualize the five-number summary statistics using a boxplot. First,...
How to Make a Violin plot in Python using Matplotlib and Seaborn

How to Make a Violin plot in Python using Matplotlib and Seaborn

by Erik Marsja | Jan 4, 2021 | Programming, Python

In this Python data visualization tutorial, we are going to learn how to create a violin plot using Matplotlib and Seaborn. Now, there are several techniques for visualizing data (see the post 9 Data Visualization Techniques You Should Learn in Python for some...
How to use $ in R: 6 Examples – list & dataframe (dollar sign operator)

How to use $ in R: 6 Examples – list & dataframe (dollar sign operator)

by Erik Marsja | Jan 2, 2021 | Programming, R

In this very short tutorial, you will learn by example how to use the operator $ in R. First, we will learn what the $ operator does by getting the answer to some frequently asked questions. Second, we will work with a list that we create, and use the dollar sign...
« Older Entries
Next Entries »

Latest Posts

  • How to Remove/Delete a Row in R – Rows with NA, Conditions, Duplicated
  • Python Scientific Notation & How to Suppress it in Pandas and NumPy
  • How to Create a Matrix in R with Examples – empty, zeros
  • How to Convert a List to a Dataframe in R – dplyr
  • How to Create a Violin plot in R with ggplot2 and Customize it
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS