This is an internal helper function that takes the types list and creates a data frame from which calculations can proceed.
build_matsindf_apply_data_frame(
.dat = NULL,
FUN,
...,
types = matsindf_apply_types(.dat, FUN = FUN, ... = ...)
)A data frame (actually, a tibble)
with columns from dots, .dat, and the default values to FUN,
according to precedence rules for matsindf_apply().
The value of the .dat argument to matsindf_apply(), as a list or a data frame.
The function supplied to matsindf_apply().
The ... argument supplied to matsindf_apply().
The types for matsindf_apply(). Supply if already calculated externally.
Default is types = matsindf_apply_types(.dat, FUN = FUN, ... = ...).
This function enforces the precedence rules for matsindf_apply(), namely that
variables found in ... take priority over
variables found in .dat, which take priority over
variables found in the default values of FUN.