Learn R Programming

supernova (version 1.1)

insertRow: insertRow

Description

Function to insert formatting rows in the output data.frame.

Usage

insertRow(d, nr, rn = NULL)

Arguments

d

Original data.frame

nr

Contents of the new row.

rn

The row in which to insert the new contents (remaining rows will be pushed down).

Value

d The original data.frame with the new row inserted.