id2rownum: Take particular id and convert to row number

View source: R/BMisc.R

id2rownumR Documentation

Take particular id and convert to row number

Description

id2rownum takes an id and converts it t the right row number in the dataset; ids should be unique in the dataset that is, don't pass the function panel data with multiple same ids

Usage

id2rownum(id, data, idname)

Arguments

data

data frame

idname

unique id

ids

vector of ids


BMisc documentation built on July 12, 2022, 1:05 a.m.