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!

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

In this Python data visualization tutorial, we will learn how to create a violin plot in Python with Matplotlib and Seaborn. We can carry out several techniques for visualizing data (see the post 9 Data Visualization Techniques You Should Learn in Python for some examples). Violin plots combine both the box plot and the histogram. […]

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

how to select certain columns in R

Select Columns in R by Name, Index, Letters, & Certain Words with dplyr

In this post, you will learn how to select columns in R. Selecting specific columns is crucial when working with data in Psychology and data science. Whether you are analyzing survey data to examine relationships between variables or performing data-wrangling tasks, knowing how to extract relevant columns may be essential for your analysis. Imagine you

Select Columns in R by Name, Index, Letters, & Certain Words with dplyr Read More »

Scroll to Top