addrank: Add a "MyRank" column with the rank of a variable

Description Usage Arguments Details Value

View source: R/addrank.R

Description

Add a "MyRank" column with the rank of a variable

Usage

1
addrank(df, Var)

Arguments

...

numeric

Details

This function needs the following imputs:

  1. df = dataframe.

  2. Var = variables for which the rank will be added. e.g. the df has 2 categories in a column that we will need to add individual ranks, we include the variables quoted of in that column that will be ranked.

Value

a dataframe


aalvaradob/utildf documentation built on Oct. 7, 2020, 3:05 p.m.