fun.res.remap: Remaps a functions return result format using the given...

Description Usage Arguments Details Value

View source: R/functions.R

Description

Like the select function, but does not drop unmatched results.

Usage

1
fun.res.remap(func, mapping, drop = FALSE)

Arguments

func

the function to have it's result format remapped.

mapping

the mapping to remap the function with.

drop

if return values that weren't in the mapping should be dropped.

Details

For every pair in the mapping of for (x='y'), the function take the result of name x and renames it to y.

Value

A remapped function.


RlonRyan/QuikR documentation built on May 14, 2019, 3:09 a.m.