Learn R Programming

factorMerger (version 0.3.1)

mergingHistory: Merging history

Description

Summarizes merging path by giving pairs of factor groups merged in each iteration.

Usage

mergingHistory(factorMerger, showStats = FALSE, penalty, round = TRUE)

Arguments

factorMerger

Object of a class factorMerger

showStats

If TRUE extends results with the loglikelihood (column model), p-value for the LRT tests against the full model (column pval) and Generalized Information Criterion value (column GIC). By default showStats is set to FALSE.

penalty

GIC penalty

round

Logical. If TRUE, the default, statistics are rounded

Examples

Run this code
# NOT RUN {
randSample <- generateMultivariateSample(N = 100, k = 10, d = 3)
fm <- mergeFactors(randSample$response, randSample$factor)
mergingHistory(fm, showStats = TRUE)

# }

Run the code above in your browser using DataLab