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.
Arguments
- .dat
The
.dat
argument tomatsindf_apply()
.- FUN
The
FUN
argument tomatsindf_apply()
.- DF
The assembled
DF
insidematsindf_apply()
.- types
The
types
object assembled insidematsindf_apply()
.
Value
The appropriate return value from matsindf_apply()
,
either a zero-length list or a zero-row data frame.