Skip to contents

Reads the respondent- or analyst-facing label attached to a component.

Usage

sf_label(x, ...)

Arguments

x

An sf_item(), sf_choices(), sf_scale(), sf_branch(), sf_check() or sf_model() object.

...

Passed to methods.

Value

A single character label, or "" when none is declared.

See also

Examples

sf_label(sf_item("q1", "Satisfaction", type = "numeric"))
#> [1] "Satisfaction"