reNumber: Renumber rows in a data.frame to deal with missing rows.

Description Usage Arguments Value Examples

Description

This function cleans up the rownames of a data.frame by renumbering from 1 to the total number of rows in the data.frame.

Usage

1

Arguments

x

The target data.frame

Value

This function returns a data.frame

Examples

1
reNumber(data.frame(x=1:4, y=5:8)[-1,])

ecology-rocks/SortieIO documentation built on May 15, 2019, 7:57 p.m.