dot-create.cats: Create categories from a hierarchy (parent-code) list The...

Description Usage Arguments

Description

Create categories from a hierarchy (parent-code) list The result is a data frame with the same number of rows as the hierarchy, where the first column consists only of the roots, the second column of the roots and their children and so un until the last column consists of all nodes, so each row is a path to the root

Usage

1
.create.cats(hierarchy, label = "code", maxdepth = NULL)

Arguments

label

column names to generate: label, label.p1, label.p2 etc

maxdepth

number of columns to keep, not counting the code column.


amcat/amcat-r documentation built on Dec. 26, 2021, 3:12 a.m.