Description Usage Arguments Value
Plot a post-hoc tree of all tests or all significant tests on 2x2 discretized contingency tables. See vignettes for examples.
1 2 3 4 |
xy |
A list (optional), whose first element corresponds to the matrix x as below, and
its second element corresponds to the matrix y as below.
if |
x |
A matrix (optional), number of columns = dimension of random vector,
number of rows = number of observations. If |
y |
A matrix (optional), number of columns = dimension of random vector,
number of rows = number of observations. If |
fit |
An object generated by |
show.all |
Logical. If |
max.node.size |
Numeric. Maximal node size. All nodes are scaled between |
min.node.size |
Numeric. Minimal node size. All nodes are scaled between |
use.pval |
String, choose between |
images.path |
String, path to save |
node.name |
String, prefix for file names for nodes |
filename |
String, file name for tree output. If left |
filetype |
String, default is |
The main output of multiTree is a pdf
file with the directed acyclic graph
showing tests as nodes.
In addition, the function returns a list. Its elements are:
qgraph.object
, the graphical object generated by the qgraph
function. See
the qgraph
package documentation for further details.
qgraph.call
, the call for the tree generating function. Arguments for
the call: adj
, the adjacency matrix, nodes.size
, a numeric vector with the
scaled sizes of the nodes, images
, the file names of the nodes images (may be
NULL
), filename
as passed to multiTree
and passed over to qgraph
,
and filetype
as passed to multiTree
and passed over to qgraph
.
Other elements of the returned list are pvs.attributes
, the attributes summarizing the
data and the tests performed as stored in fit
, and n.nodes
, the number of nodes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.