q_graph: Graph Q Matrix

Description Usage Arguments Value Examples

View source: R/vis-q.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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

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

edina documentation built on March 26, 2020, 9:30 p.m.