Skip to contents

Returns the stored values and respondent-facing labels in a choice set.

Usage

# S3 method for class 'sf_choices'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

Arguments

x

A surveyframe object.

row.names

Passed to base::as.data.frame() by the methods that build a frame. Ignored by the methods that return a stored table.

optional

Passed to base::as.data.frame().

...

Ignored. Present for S3 consistency.

Value

A data frame with value and label columns.