insert_empty_rows: Inserts empty rows into a data frame

View source: R/insert_empty_rows.R

insert_empty_rowsR Documentation

Inserts empty rows into a data frame

Description

Inserts empty rows into a data frame

Usage

insert_empty_rows(huxme, newrows = huxme$newrows)

Arguments

huxme

data.frame The input data frame.

Details

gentlg allows for formatting the input table based on formatting columns (see gentlg()). One of the formatting mechanisms is empty row insertion. This function inserts the empty rows based on the newrows column in the data frame. The new rows are inserted before the rows with value 1 in the newrows column.

Value

A data frame with added new empty rows.


tidytlg documentation built on June 22, 2024, 10:43 a.m.