Skip to contents

[Deprecated]

This function is deprecated, please use admiraldev::process_set_values_to() instead.

Create AVAL from AVALC by calling a function provided by the user. If calling the function fails, the error is caught and a helpful error message provided.

Usage

call_aval_fun(dataset, aval_fun)

Arguments

dataset

Input dataset

The variable AVALC is expected.

Permitted Values: a dataframe

aval_fun

Function returning the AVALC values

The specified function must expect one argument expecting a character vector and must return a numeric vector.

Permitted Values: a function

Value

The input dataset with AVAL added

Details

The new variable AVAL is set to aval_fun(AVALC).

Author

Stefan Bundfuss