stlabel: Set attributes for variables in data.frame

View source: R/stata_related.R

stlabelR Documentation

Set attributes for variables in data.frame

Description

Set attributes for variables in data.table

Usage

stlabel(df, var, attr, type = "label")

Arguments

df

data.table

variable

one bare variabel name or character vector of variable names

attributes

numeric or character vector, length must equal variables


liubianshi/lbs documentation built on Nov. 2, 2023, 11:06 a.m.