Usage
graph2latex(graph, package="TikZ", scale=1, alpha=0.05, pvalues,
fontsize=c("tiny","scriptsize", "footnotesize", "small",
"normalsize", "large", "Large", "LARGE", "huge", "Huge"),
nodeTikZ, labelTikZ="near start,above,fill=blue!20",
tikzEnv=TRUE, offset=c(0,0))
Arguments
package
A character string specifying the LaTeX package that should be used.
Up to now only TikZ
is available.
scale
A numeric scalar specifying a possible scaling of the graph. Note that this does not effect the fontsize of the graph.
(Coordinates are interpreted in big points - 72 bp = 1 inch).
alpha
An optional numeric argument to specify the type I error rate.
pvalues
If the optional numeric argument pvalues is given, nodes that can be rejected, will be marked.
fontsize
An optional character vector specifying the fontsize for the graph, must be one of "tiny"
, "scriptsize"
,
"footnotesize"
, "small"
, "normalsize"
, "large"
, "Large"
nodeTikZ
A character string with additional arguments for the TikZ node
command like for example nodeTikZ="minimum size=2cm"
.
labelTikZ
A character string with arguments for the TikZ node
command within an edge.
tikzEnv
Logical whether the LaTeX code should be wrapped in a TikZ environment.
offset
A numeric of length 2 specifying the x and y offset in the TikZ environment.