Learn R Programming

REDCapCAST (version 25.3.1)

set_attr: 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)

Value

vector with attribute

Arguments

data

vector

label

label

attr

attribute name

overwrite

overwrite existing attributes. Default is FALSE.