sf_construct: Define a latent or composite construct

View source: R/model_layer.R

sf_constructR Documentation

Define a latent or composite construct

Description

Define a latent or composite construct

Usage

sf_construct(
  id,
  label = NULL,
  items = character(0),
  mode = c("reflective", "composite", "formative", "single_item"),
  weights = NULL
)

Arguments

id

Construct identifier. Must start with a letter and contain only letters, numbers, and ⁠_⁠ characters.

label

Human-readable construct label.

items

Character vector of indicator item IDs.

mode

Measurement mode. One of "reflective", "composite", "formative", or "single_item".

weights

Optional indicator weights for later PLS-SEM planning.

Value

An object of class sf_construct.


surveyframe documentation built on July 25, 2026, 1:07 a.m.