Learn R Programming

dostats (version 1.1.20120309)

wargs: Call with arguments

Description

Call with arguments

Usage

wargs(f, ...)

Arguments

f
a function
...
extra arguments

Value

  • a function that takes 1 argument and calls f with the single argument and the additional ... appended.

Examples

Run this code
mean2 <- wargs(mean, na.rm=T)

Run the code above in your browser using DataLab