Skip to contents

Adds a sequential index column to a data frame

Usage

add_index(ret, rename_index)

Arguments

ret

An object of class tibble

rename_index

A variable indicating the index name to be used in the tibble returned