mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-24 05:51:55 +01:00
22 lines
428 B
R
22 lines
428 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/as_factor.R
|
|
\name{set_attr}
|
|
\alias{set_attr}
|
|
\title{Set attributes for named attribute. Appends if attr is NULL}
|
|
\usage{
|
|
set_attr(data, label, attr = NULL)
|
|
}
|
|
\arguments{
|
|
\item{data}{vector}
|
|
|
|
\item{label}{label}
|
|
|
|
\item{attr}{attribute name}
|
|
}
|
|
\value{
|
|
vector with attribute
|
|
}
|
|
\description{
|
|
Set attributes for named attribute. Appends if attr is NULL
|
|
}
|