handle_empty_data {matsindf} | R Documentation |
When empty data are provided to matsindf_apply()
,
care must be take with the return value.
This function assembles the correct zero-row data frame or
zero-length lists.
handle_empty_data(.dat = NULL, FUN, DF, types)
.dat |
The |
FUN |
The |
DF |
The assembled |
types |
The |
The appropriate return value from matsindf_apply()
,
either a zero-length list or a zero-row data frame.