Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dapply

Call lapply on an object and return a data.frame.


Description

Applies a function fun on each element of input x and combines the results as data.frame columns. The results will get replicated to have equal length if necessary and possible.

Usage

dapply(x, fun, ..., col.names)

Arguments

x

[data.frame]
Data frame.

fun

[function]
The function to apply.

...

[any]
Further arguments passed down to fun.

col.names

[character(1)]
Column names for result. Default are the names of x.

Value

[data.frame].


BBmisc

Miscellaneous Helper Functions for B. Bischl

v1.11
BSD_2_clause + file LICENSE
Authors
Bernd Bischl [aut, cre], Michel Lang [aut], Jakob Bossek [aut], Daniel Horn [aut], Jakob Richter [aut], Dirk Surmann [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.