nplyr: Apply Functions over Named Objects

Description Usage Arguments

Description

Slightly modified versions of plyr's functions, which give access to the current item's name within the applied function.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
.iname()

.inum()

.inames()

.ilength()

nl_ply(.data, .fun, ...)

nldply(.data, .fun, ...)

nllply(.data, .fun, ...)

na_ply(.data, .margins, .fun, ...)

nadply(.data, .margins, .fun, ...)

nalply(.data, .margins, .fun, ...)

Arguments

.data

Data object passed to the corresponding plyr function

.fun

Function to apply to each – margin – element of .data

...

extra arguments passed to corresponding plyr function

.margins

Margin over which to apply


renozao/nplyr documentation built on May 27, 2019, 5:53 a.m.