multi_sapply: multi_sapply

Description Usage Arguments Details Value References

View source: R/multi_sapply.R

Description

Apply multiple functions to a numeric vector.

Usage

1

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 Oct. 31, 2020, 3:48 p.m.