broadcast: broadcasting a function to all other rows

View source: R/broadcast.R

broadcastR Documentation

broadcasting a function to all other rows

Description

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.


wanjiag/ezPurrr documentation built on May 10, 2022, 9:32 p.m.