# Author name: Erik Marsja

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

## Seaborn Confusion Matrix: How to Plot and Visualize in Python

Discover Seaborn’s power in creating insightful confusion matrix plots. Unleash your data visualization skills and assess model performance effectively.

## Row Means in R: Calculating Row Averages with Ease

Learn how to calculate row means in R, whether you’re analyzing every 5th column, applying conditions, or using dplyr for precise numeric column calculations. Explore the power of R for tailored row averaging.

## Fisher’s Exact Test in R: How to Interpret & do Post Hoc Analysis

Unlock the power of Fisher’s Exact Test in R and find associations in your categorical data. Dive into interpretation, post-hoc analysis, and data visualization. Discover how to go beyond statistics and turn insights into actions.

## Cronbach’s Alpha in R: How to Assess Internal Consistency

Learn to calculate Cronbach’s Alpha in R for assessing internal consistency. Explore manual methods and convenient packages like psych and performance.

## Cross-Tabulation in R: Creating & Interpreting Contingency Tables

Cross-tabulation in R: Explore diverse methods for analyzing categorical data. Learn basic and advanced techniques using functions like table(), dplyr, and sjPlot. Enhance your data analysis skills now!

## How to Sum Rows in R: Master Summing Specific Rows with dplyr

Explore how to sum rows in R using dplyr’s powerful functions and enhance your data analysis. Sum across specific rows and based on conditions.

## How to Check if a File is Empty in R: Practical Examples

In this post, you will learn how to efficiently determine if a file is empty in R using the file.info() and file.size() functions. We will explore practical examples and scenarios, including reading multiple files. Mastering these techniques empowers streamlined file validation for effective data processing and analysis.

## Modulo in R: Practical Example using the %% Operator

Unlock the potential of Modulo in R with practical applications. Explore data segmentation, odd/even checks, day filtering, and optimized iterations for streamlined coding efficiency.

## Python Check if File is Empty: Data Integrity with OS Module

Learn how to use Python to check if a file is empty. Here we use the os, glob, zipfile, and rarfile modules to check if 1) a file is empty, 2) many files are empty, and 3) files contained in Zip and Rar files are empty.

## Check R Version in RStudio: A Quick and Simple Tutorial

Learn how to check the R version in RStudio and ensure reproducibility. Discover the best method for compatibility and smooth data analysis. Follow simple steps for quick access to version details.

Scroll to Top