About 17,200 results
Open links in new tab
  1. A Guide to apply(), lapply(), sapply(), and tapply() in R

    Aug 5, 2020 · This tutorial explains the differences between the built-in R functions apply (), sapply (), lapply (), and tapply () along with examples of how to use them.

  2. lapply function - RDocumentation

    lapply: Apply a Function over a List or Vector Description lapply returns a list of the same length as X, each element of which is the result of applying FUN to the corresponding element of X.

  3. apply(), lapply(), sapply(), and tapply() in R - GeeksforGeeks

    Jul 23, 2025 · The lapply () function in the R Language takes a list, vector, or data frame as input and gives output in the form of a list object. Since the lapply () function applies a certain …

  4. lapply FUNCTION in R [WITH SEVERAL EXAMPLES]

    The lapply function is part of the apply family functions in R and allows applying a function over a list or a vector, returning a list. In this tutorial we will review how to use the lapply function in R …

  5. R apply (), lapply (), sapply (), tapply () with Examples - Guru99

    May 24, 2025 · The difference between lapply () and apply () lies between the output return. The output of lapply () is a list. lapply () can be used for other objects like data frames and lists.

  6. How to Use apply (), lapply (), sapply (), and tapply () in R: A ...

    Dec 31, 2025 · The ‘l’ in lapply () stands for “list,” signifying that it will iterate over every element of the input object (be it a list, vector, or data frame) and return the results strictly as a list.

  7. The apply series: apply, lapply, sapply, tapply - GitHub Pages

    1 Introduction There are four functions in the apply series. Apply, sapply, lapply, and tapply. Each one applies a function to a matrix. These functions can be used to replace a for loop. First …

  8. lapply: Apply a Function over a List or Vector

    lapply: Apply a Function over a List or Vector ... Apply a Function over a List or Vector Description lapply returns a list of the same length as X, each element of which is the result of applying …

  9. Explain lapply () Function in R - Spark By Examples

    Aug 18, 2024 · lapply() is a functional programming tool that applies a given function to each element of a list or vector and returns a list. Using lapply() often results in more concise and …

  10. R: How to Use lapply () Function with Multiple Arguments

    Feb 24, 2023 · This tutorial explains how to use the lapply () function in R with multiple arguments, including an example.