categories

  • About
  • Blog
  • Talks
  • Projects
  • About
  • Blog
  • Talks
  • Projects

Mastering Apply: From Matrices to Multidimensional Neuroimaging Data

Nov 01, 2025

Deep dive into apply() for matrices and high-dimensional arrays. From basic row/column operations to complex fMRI analyses with 5D data. Learn to master the MARGIN parameter for neuroimaging and scientific computing.

Mapply: When You Need to Iterate Over Multiple Inputs

Oct 01, 2025

Learn when and how to use mapply for applying functions with multiple varying arguments. This guide shows practical examples of processing data when you need to pair multiple inputs element-wise.

Reading in multiple files without loops

Nov 01, 2024

Learn how to use apply-functions in R to read multiple files efficiently. This guide covers the basics of using sapply and lapply to iterate over files quickly, eliminating the need for loops.

Let’s Get Apply’ing

Nov 07, 2022

Learn to replace loops with vectorized apply functions in R for efficient data manipulation. This guide covers converting loops to functions using sapply and mapply, enhancing your programming skills by making code more readable and less error-prone.

2023 Athanasia Mo Mowinckel

Dr. Mowinckel’s