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!

R violin plot

How to Create a Violin plot in R with ggplot2 and Customize it

This data visualization tutorial will teach us how to make a violin plot in R using ggplot2. We can use several techniques to visualize data (see, for example, the Python-related post “9 Data Visualization Techniques You Should Learn in Python“) to visualize our data in r. Briefly described, violin plots combine a box plot and […]

How to Create a Violin plot in R with ggplot2 and Customize it Read More »

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 »

Absolute value in R

How to Take Absolute Value in R – vector, matrix, & dataframe

Discover the power of calculating the absolute value in R through this data science tutorial. Learn to compute absolute values using the built-in function abs() effortlessly, e.g., abs(YourVector). Extend your proficiency by grasping the technique to compute absolute values for matrices and data frames. The following section will give you a detailed outline of what

How to Take Absolute Value in R – vector, matrix, & dataframe Read More »

Scroll to Top