mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2024-11-24 14:01:55 +01:00
24 lines
515 B
R
24 lines
515 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, overwrite = FALSE)
|
|
}
|
|
\arguments{
|
|
\item{data}{vector}
|
|
|
|
\item{label}{label}
|
|
|
|
\item{attr}{attribute name}
|
|
|
|
\item{overwrite}{overwrite existing attributes. Default is FALSE.}
|
|
}
|
|
\value{
|
|
vector with attribute
|
|
}
|
|
\description{
|
|
Set attributes for named attribute. Appends if attr is NULL
|
|
}
|