Learn R Programming

skpr (version 1.8.2)

calculate_block_nesting: Determine Nesting Level of Blocks

Description

Calculates if a block is fully nested within another block, and what the highest level of nesting is. 1 indicates the block isn't nested within another block--just within the intercept.

Usage

calculate_block_nesting(blockgroups, blockstructure)

Arguments

Value

Vector of numbers indicating the hierarchy