as_filler: Fill does things

Description Usage Arguments

Description

Fill does things

Usage

1

Arguments

.f

A function, formula, or scalar atomic. Must return a scalar atomic.

If a function, it is used as is.

If a formula, e.g. ~ .x + 2, it is converted to a function. There are three ways to refer to the arguments: For a single argument function, use . For a two argument function, use .x and .y For more arguments, use ..1, ..2, ..3 etc.

This syntax allows you to create very compact anonymous functions.

If scalar character or scalar numeric, it is converted to a formula, which is then converted to a function as above. The end result is that the value is filled in in the selected locations.

...

Additional arguments passed on to methods.


biodatacore/biodatacoreUtils documentation built on May 28, 2019, 7:11 p.m.