trans_level: change the catogory variables into numbers level.

Description Usage Arguments Value Author(s)

View source: R/trans_level.R

Description

when we initially get data, the catogory varibles may be a range varible or some other things that indicate the level.If we change these varibles into numbers, it will be more informative and we can order the data in terms of these numbers level and calculate the correlation index with the method of spearman.

Usage

1

Arguments

data

data you have already collected

x

the number of the column you want to change

Value

data

data with more informative data value

Author(s)

"Sheng Wang"


swang3/timestudy documentation built on May 29, 2019, 9:52 a.m.