by Erik Marsja | Feb 26, 2023 | Programming, R

In this tutorial, you will learn when and why we may want or need to standardize data in R. We will also discuss what it means to standardize variables and which R functions help in standardization. Moreover, the tutorial will then provide a step-by-step guide on...
by Erik Marsja | Feb 19, 2023 | Programming, R

In this post, you will learn how to make a residual plot in R. Moreover, you will learn when to use different residual plots and how to interpret them. Residual plots are a graphical tool that can evaluate the quality of a regression model. They are handy for...
by Erik Marsja | Feb 12, 2023 | Programming, R

This post will teach you how to carry out the Kruskal-Wallis test in R. The Kruskal-Wallis test is a non-parametric statistical test used to determine whether there is a significant difference in the median values of two or more independent groups. This method is used...
by Erik Marsja | Aug 29, 2022 | Experimental Design, Open Science, Open Source, Programming, Psychology, Psychopy, Python

In this PsychoPy tutorial, you will learn how to create the Psychomotor Vigilance Task (PVT) using some but not that much coding. However, as the setup for this test has a random interstimulus interval (ISI), we will create a Psychomotor Vigilance Test with a duration...
by Erik Marsja | Nov 7, 2021 | Programming, R

In this tutorial, you will 1) learn how to delete a row in R and 2) how to remove multiple rows in R. Of course, R being a universal programming language, there are many different options when we need to delete a row. For example, we can use the subset() function to...