Learn R Programming

jstable (version 1.3.8)

mk.lev.var: Export label and level: one variable

Description

Export label and level: one variable

Usage

mk.lev.var(data, vname)

Value

if continuous variable - (label, NA), categorical variable - (label, level)

Arguments

data

data

vname

variable to export label and level

Details

DETAILS

Examples

Run this code
lapply(names(iris), function(x) {
  jstable::mk.lev.var(iris, x)
})

Run the code above in your browser using DataLab