mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2026-06-19 13:17:30 +02:00
added option to export "both" raw and label by labelling raw data to preserve as much information as possible
This commit is contained in:
parent
57f9f23ece
commit
2ba46e8e7a
11 changed files with 177 additions and 230 deletions
28
man/is.labelled.Rd
Normal file
28
man/is.labelled.Rd
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/as_factor.R
|
||||
\name{is.labelled}
|
||||
\alias{is.labelled}
|
||||
\title{Tests for multiple label classes}
|
||||
\usage{
|
||||
is.labelled(
|
||||
x,
|
||||
classes = c("redcapcast_labelled", "haven_labelled", "labelled")
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
\item{x}{data}
|
||||
|
||||
\item{classes}{classes to test}
|
||||
}
|
||||
\value{
|
||||
logical
|
||||
}
|
||||
\description{
|
||||
Tests for multiple label classes
|
||||
}
|
||||
\examples{
|
||||
structure(c(1, 2, 3, 2, 10, 9),
|
||||
labels = c(Unknown = 9, Refused = 10),
|
||||
class = "haven_labelled"
|
||||
) |> is.labelled()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue