Programming

Programming related posts

In this category you will find posts that are related to programming and should be interesting for psychologists, cognitive scientists, and neuroscientists. Well, almost every researcher would probably find some of the information useful at some time!

Every research psychologist, cognitive scientist, and neuroscientist, should know how to program.. Knowing how to program and write scripts will make many of a researchers everyday tasks much easier. For instance, instead of going through line after line of raw data you can write a Python script that runs through each cell in each column. Furthermore, you get the possibility to use more advanced, and cutting edge, statistical techniques by using R statistical programming environment.

Another example might be to create experiments using PsychoPy (either by coding using Python or using the drag-and-drop interface) and the cheap and open-source Arduino microcontroller. Also, coding is fun and relaxing!

convert all character columns to factor in r

Convert All Character Columns to Factor in R: A Guide

In data analysis using R, the need to convert character columns to factors is common. Character columns often contain categorical data, and converting them to factors enables R to interpret and analyze the data more effectively. Factors represent categorical variables with distinct levels, aiding in statistical modeling (e.g., ANOVA, MANOVA) and visualization. Data type conversion is

Convert All Character Columns to Factor in R: A Guide Read More »

tutorial for not in r

Not in R: Elevating Data Filtering & Selection Skills with dplyr

Discover how to filter data in R using the %in% operator’s counterpart, ! (NOT) with filter(). This powerful technique allows you to exclude specific values from your dataset, providing fine-grained control over your data filtering process. Streamline your data manipulation with this essential skill. Explore more in our comprehensive guide.

Not in R: Elevating Data Filtering & Selection Skills with dplyr Read More »

Scroll to Top