build_matsindf_apply_data_frame {matsindf} | R Documentation |
Create a data frame consisting of the input data for matsindf_apply()
Description
This is an internal helper function that takes the types list and creates a data frame from which calculations can proceed.
Usage
build_matsindf_apply_data_frame(
.dat = NULL,
FUN,
...,
types = matsindf_apply_types(.dat, FUN = FUN, ... = ...)
)
Arguments
.dat |
The value of the |
FUN |
The function supplied to |
... |
The |
types |
The types for |
Details
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
.
Value
A data frame (actually, a tibble
)
with columns from dots
, .dat
, and the default values to FUN
,
according to precedence rules for matsindf_apply()
.