Learn R Programming

sjmisc (version 1.2)

is_labelled: Check whether object is of class "labelled"

Description

This function checks whether x is of class labelled.

Usage

is_labelled(x)

Arguments

x
An object.

Value

  • Logical, TRUE if any(class(x)) is labelled, FALSE otherwise.