q_graph {edina}R Documentation

Graph Q Matrix

Description

Provides a heatmap approach to showing the estimated binary or averaged values of the Q Matrix.

Usage

q_graph(x, ...)

## S3 method for class 'auto_edina'
q_graph(x, binary = TRUE, ic = c("ppp", "bic", "dic"), ...)

## S3 method for class 'edina'
q_graph(x, binary = TRUE, ...)

## S3 method for class 'matrix'
q_graph(x, ...)

## S3 method for class 'q_matrix'
q_graph(x, ...)

Arguments

x

Either an edina, auto_edina, or q_matrix object.

...

Additional parameters not used

binary

Boolean to indicate if a classified Q (dichotomous by decision rule) or an estimate Q (non-dichotomous) or should be shown. Default: TRUE.

ic

Information criterion name. Default "ppp".

Value

A ggplot2 object with a heatmap overview of the estimated Q matrix.

Examples

q = q_matrix(matrix(c(1, 0, 1, 1, 0, 1), ncol = 3))
q_graph(q)

[Package edina version 0.1.1 Index]