mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
Deploying to gh-pages from @ agdamsbo/REDCapCAST@db75c3313e 🚀
This commit is contained in:
parent
bc2e23a272
commit
0b30252598
171 changed files with 7009 additions and 602 deletions
33
reference/is.labelled.md
Normal file
33
reference/is.labelled.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Tests for multiple label classes
|
||||
|
||||
Tests for multiple label classes
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
is.labelled(x, classes = c("haven_labelled", "labelled"))
|
||||
```
|
||||
|
||||
## Arguments
|
||||
|
||||
- x:
|
||||
|
||||
data
|
||||
|
||||
- classes:
|
||||
|
||||
classes to test
|
||||
|
||||
## Value
|
||||
|
||||
logical
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
structure(c(1, 2, 3, 2, 10, 9),
|
||||
labels = c(Unknown = 9, Refused = 10),
|
||||
class = "haven_labelled"
|
||||
) |> is.labelled()
|
||||
#> [1] TRUE
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue