Skip to contents

The value returned by sframe_get_items(), sframe_get_scales(), sframe_get_choice_sets(), sframe_get_branches(), sframe_get_attention_checks() and sframe_get_models(). It is a list of component objects named by their IDs, so a single component is reached with [[.

Value

print() returns x invisibly. [ returns an sf_component_list.

Examples

item1 <- sframe_item("q1", "First question", type = "text")
item2 <- sframe_item("q2", "Second question", type = "text")
instr <- sframe_instrument("Demo", components = list(item1, item2))

sframe_get_items(instr)
sframe_get_items(instr)[["q2"]]