set_attr: Set attributes for named attribute. Appends if attr is NULL

View source: R/as_factor.R

set_attrR Documentation

Set attributes for named attribute. Appends if attr is NULL

Description

Set attributes for named attribute. Appends if attr is NULL

Usage

set_attr(data, label, attr = NULL, overwrite = FALSE)

Arguments

data

vector

label

label

attr

attribute name

overwrite

overwrite existing attributes. Default is FALSE.

Value

vector with attribute


REDCapCAST documentation built on April 4, 2025, 3:18 a.m.