Add new variable within a double-nested dataframe

mutate_double_nested(df, nest_cols, ...)

Arguments

df

A dataframe

nest_cols

A selection of columns to nest in existing list-column

...

Name-value pairs of functions