structure_groups: Structure Groups

View source: R/structure_groups.R

structure_groupsR Documentation

Structure Groups

Description

Creates a named list of sequential integer groups.

Usage

structure_groups(names, values)

Arguments

names

Character vector of group names.

values

Integer vector of group sizes.

Value

A named list of integer sequences.

Examples

# Two scales: the first four items and the next five
structure_groups(c("Anxiety", "Depression"), c(4, 5))

InterconectaR documentation built on Oct. 16, 2026, 1:06 a.m.