mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
implement support for variable attributes for field label incl conversion of logicals to factor
This commit is contained in:
parent
f2b2784547
commit
fe9918dc10
6 changed files with 132 additions and 11 deletions
21
man/set_attr.Rd
Normal file
21
man/set_attr.Rd
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/ds2dd_detailed.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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue