executing examples with as_factor() errors. I think due to redundancy. Will investigate.

This commit is contained in:
Andreas Gammelgaard Damsbo 2024-11-20 12:40:29 +01:00
commit c86ae9a364
No known key found for this signature in database
13 changed files with 58 additions and 24 deletions

View file

@ -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