puff_my_df: Artificially increase the number of rows to make up any...

puff_my_dfR Documentation

Artificially increase the number of rows to make up any missing combinations by label columns for every unique id 'Puff up' the dataframe by filling in the missing entries with artificial data, default NA Will move id columns and label columns to the far left tidyr::crossing and tidyr::expand.grid perform similar function

Description

Artificially increase the number of rows to make up any missing combinations by label columns for every unique id 'Puff up' the dataframe by filling in the missing entries with artificial data, default NA Will move id columns and label columns to the far left tidyr::crossing and tidyr::expand.grid perform similar function

Usage

puff_my_df(df, id_col, label_col, fill_with = NA)

fjoe88/d8ahelper documentation built on Feb. 6, 2023, 7:55 a.m.