Erik Marsja
  • Home
  • Programming
    • Python Tutorials
      • Data Analysis
      • Pandas Tutorials
      • Data Visualization
      • Python for Data Collection Tutorials
    • R
  • CV
  • Contact
  • Python & R resources
Select Page
Learn How to Calculate Descriptive Statistics in R the Easy Way with dplyr

Learn How to Calculate Descriptive Statistics in R the Easy Way with dplyr

by Erik Marsja | Dec 28, 2019 | Open Science, Programming, Psychology, R

In this post, we will learn how to carry out descriptive statistics in R. After we have learned how to do this, we will learn how to create a nice latex table and how to save the summary statistics to a .csv file. Note, in a recent post you learn how to quickly...
How to Use Binder and R for Reproducible Research

How to Use Binder and R for Reproducible Research

by Erik Marsja | Sep 15, 2019 | Open Science, Open Source, Programming, R

In a previous post, we learned how to use Binder and Python for reproducible research. Now, we are going to learn how to create a Binder for our data analysis in R, so it can be fully reproduced by other researchers. More specifically, in this post, we will learn how...
How to Use Binder and Python for Reproducible Research

How to Use Binder and Python for Reproducible Research

by Erik Marsja | Jul 22, 2019 | Open Science, Open Source, Programming, Python, Python in Research

In this post, we will learn how to create a binder so that our data analysis, for instance, can be fully reproduced by other researchers. That is, here we will learn how to use a tool called Binder for reproducible research. In previous posts, we have learned how to...
OpenSesame Tutorial: How to use Image Stimuli

OpenSesame Tutorial: How to use Image Stimuli

by Erik Marsja | Jan 11, 2019 | Experimental Design, Open Science, Open Source, Psychology

In this OpenSesame tutoria,l we will learn how to use images as stimuli and how to load the trials; including filenames, correct responses, and conditions from a pre-generated CSV file. To follow this tutorial you don’t need to know Python programming. However,...
OpenSesame Tutorial – How to Create a Flanker Task

OpenSesame Tutorial – How to Create a Flanker Task

by Erik Marsja | Mar 26, 2017 | Experimental Design, Open Science, Open Source, Psychology

In this post, you are going to learn how to create a simple experiment using the free experiment building software OpenSesame. As I have previously written about, OpenSesame, is an application, based on Python, for creating Psychology, Neuroscience, and Economics...
PsychoPy video tutorials

PsychoPy video tutorials

by Erik Marsja | Apr 17, 2016 | Open Science, Open Source, Programming, Psychology, Python

PsychoPy, as I have previously written about (e.g., Free and Useful Software and PsychoPy tutorial) is really a great Python tool for creating Psychology experiments. You can write Python code by either using  “code view” or import the package in your...
« Older Entries

Latest Posts

  • How to Remove/Delete a Row in R – Rows with NA, Conditions, Duplicated
  • Python Scientific Notation & How to Suppress it in Pandas and NumPy
  • How to Create a Matrix in R with Examples – empty, zeros
  • How to Convert a List to a Dataframe in R – dplyr
  • How to Create a Violin plot in R with ggplot2 and Customize it
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS