row_seq: Append Row Number as a Variable to a Dataframe

View source: R/row_seq.R

row_seqR Documentation

Append Row Number as a Variable to a Dataframe

Description

This function takes a dataframe and adds a variable of row numbers. This is the simplest function that does not take into account any group structures.

Usage

row_seq(df, row = "row")

Arguments

df

Input dataframe.

row

Name for the row variable.


sysilviakim/Kmisc documentation built on Jan. 28, 2023, 10:58 a.m.