insert_row: Insert a row of data into a table.

View source: R/utils.R

insert_rowR Documentation

Insert a row of data into a table.

Description

Insert a row of data into a table.

Usage

insert_row(df, insert_at, contents)

Arguments

df

The original data.frame.

insert_at

The row in which to insert the data.

contents

The row of contents to insert (should be a vector of length ncol(df)).

Value

The original data.frame with the row of data inserted.


supernova documentation built on Nov. 5, 2023, 1:09 a.m.