Learn R Programming

bayesRecon (version 1.0.2)

.get_HG: Extract and sort hierarchy rows

Description

Function that extracts the "best hierarchy rows" from A (see .get_hier_rows), and sorts them in the correct order (i.e. bottom-up). Also sorts accordingly the vectors v, d, it (e.g. of parameters).

Usage

.get_HG(A, v, d, it)

Value

List containing sorted hierarchy rows and remaining rows

Arguments

A

Aggregation matrix

v

Vector of values

d

Distribution parameters

it

Input type parameters