mirror of
https://github.com/agdamsbo/REDCapCAST.git
synced 2025-01-18 21:16:34 +01:00
26 lines
499 B
R
26 lines
499 B
R
% 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("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()
|
|
}
|