mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
executing examples with as_factor() errors. I think due to redundancy. Will investigate.
This commit is contained in:
parent
69e1520aff
commit
c86ae9a364
13 changed files with 58 additions and 24 deletions
|
|
@ -4,7 +4,7 @@
|
|||
\alias{set_attr}
|
||||
\title{Set attributes for named attribute. Appends if attr is NULL}
|
||||
\usage{
|
||||
set_attr(data, label, attr = NULL)
|
||||
set_attr(data, label, attr = NULL, overwrite = FALSE)
|
||||
}
|
||||
\arguments{
|
||||
\item{data}{vector}
|
||||
|
|
@ -12,6 +12,8 @@ set_attr(data, label, attr = NULL)
|
|||
\item{label}{label}
|
||||
|
||||
\item{attr}{attribute name}
|
||||
|
||||
\item{overwrite}{overwrite existing attributes. Default is FALSE.}
|
||||
}
|
||||
\value{
|
||||
vector with attribute
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue