Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀

This commit is contained in:
agdamsbo 2025-11-14 14:10:52 +00:00
commit 0b30252598
171 changed files with 7009 additions and 602 deletions

38
reference/suffix2label.md Normal file
View file

@ -0,0 +1,38 @@
# Transfer variable name suffix to label in widened data
Transfer variable name suffix to label in widened data
## Usage
``` r
suffix2label(
data,
suffix.sep = "____",
attr = "label",
glue.str = "{label} ({paste(suffixes,collapse=', ')})"
)
```
## Arguments
- data:
data.frame
- suffix.sep:
string to split suffix(es). Passed to
[strsplit](https://rdrr.io/r/base/strsplit.html)
- attr:
label attribute. Default is "label"
- glue.str:
glue string for new label. Available variables are "label" and
"suffixes"
## Value
data.frame