Author name: Erik Marsja

PhD in Psychology, Linköping University. Main interest is experimental and cognitive psychology. Enjoy programming in Python and R.

descriptive statistics in R

How to Calculate Descriptive Statistics in R the Easy Way with dplyr

In this post, we will learn how to calculate summary statistics in R. Specifically, we will learn how to calculate the standard deviation, mean (trimmed, harmonic, geometric), variance, IQR, quantiles. etc. We will learn how to save the summary statistics as latex (so we can output it to a nice table in a PDF, for instance), and how to save it as a csv file.

How to Calculate Descriptive Statistics in R the Easy Way with dplyr Read More »

Scroll to Top