This function will return a dataframe with last item (named output
)
being the result of broadcasting.
Usage
broadcast(nest_df, f, output_type = "list", ...)
Arguments
- nest_df
The nested data frame to be broadcasted.
Must include a column as dataframe type with name 'data'.
- f
The function to be broadcasted.
- output_type
The expected output column type. The default is a list.
Options: 'list'; 'double'
- ...
Additional arguments passed to f
.