multi_sapply: multi_sapply

View source: R/multi_sapply.R

multi_sapplyR Documentation

multi_sapply

Description

Apply multiple functions to a numeric vector.

Usage

multi_sapply(...)

Arguments

...

First argument should be the vector, all subsequent arguments are functions to apply (naming functions is optional).

Details

NA values are always removed.

Value

A wide dataframe with a column for the results of each function.

References

Code snippet by Bogumił Kamiński, adapted from: http://rsnippets.blogspot.co.uk/2011/11/applying-multiple-functions-to-data.html


rasenior/ThermStats documentation built on Nov. 16, 2024, 5:34 p.m.