Skip to contents

The replacement counterpart to sframe_plan(). Declaring the plan is the step the whole workflow turns on, so a named function provides assignment into the object's internals.

Usage

sframe_plan(x) <- value

Arguments

x

An sframe object.

value

A list of analysis blocks.

Value

The updated sframe object.

Examples

item  <- sframe_item("q1", "How satisfied are you?", type = "numeric")
instr <- sframe_instrument("Demo", components = list(item))

sframe_plan(instr) <- list(
  list(id = "RQ1", research_question = "What is the average?",
       family = "descriptive", method = "descriptives",
       roles = list(variables = "q1"))
)
length(sframe_plan(instr))