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
Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)

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. Note, however, as the setup for this test has a random interstimulus interval (ISI), we will create a Psychomotor Vigilance Test with a...
How to Remove/Delete a Row in R – Rows with NA, Conditions, Duplicated

How to Remove/Delete a Row in R – Rows with NA, Conditions, Duplicated

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...
Python Scientific Notation & How to Suppress it in Pandas and NumPy

Python Scientific Notation & How to Suppress it in Pandas and NumPy

by Erik Marsja | Aug 20, 2021 | Programming, Python

In Python, it is possible to print numbers in scientific notation using base functions as well as NumPy. Specifically, you will learn how to use Python to print very large or very small  (i.e., floating point) numbers in scientific notation using three different...
How to Create a Matrix in R with Examples – empty, zeros

How to Create a Matrix in R with Examples – empty, zeros

by Erik Marsja | Aug 8, 2021 | Programming, R

In this short tutorial, you will learn how to create a matrix in R. We will use the matrix() function, among two other functions, for this aim. Specifically, we will go into the details of this function as this will enable us to e.g. name the columns and rows in the...
How to Convert a List to a Dataframe in R – dplyr

How to Convert a List to a Dataframe in R – dplyr

by Erik Marsja | Jul 14, 2021 | Programming, R

In this short tutorial, you will learn how to convert a list to a dataframe in R. To know how to convert lists to dataframes may be useful when you, for example, get your data from a source and they end up in a list of e.g. vectors. Here’s an example code template...
« Older Entries

Latest Posts

  • Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)
  • 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

Latest Posts

  • Psychomotor Vigilance Task (PVT) in PsychoPy (Free Download)
  • 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
  • Privacy
  • Terms of Service
  • Facebook
  • Twitter
  • RSS