Description Usage Arguments Details Value Author(s) References See Also Examples
Creates LaTeX code that represents the given graph.
1 2 3 4 5 6 | graph2latex(graph, package = "TikZ", scale = 1, showAlpha = FALSE,
alpha = 0.05, pvalues, fontsize, nodeTikZ,
labelTikZ = "near start,above,fill=blue!20", tikzEnv = TRUE,
offset = c(0, 0), fill = list(reject = "red!80", retain = "green!80"),
fig = FALSE, fig.label = NULL, fig.caption = NULL, nodeR = 25,
scaleText = TRUE)
|
graph |
A graph of class |
package |
A character string specifying the LaTeX package that should
be used. Up to now only |
scale |
A numeric scalar specifying a possible scaling of the graph.
Note that this does not effect the fontsize of the graph.
Is only used if |
showAlpha |
Logical whether local alpha levels or weights should be shown. |
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 |
nodeTikZ |
A character string with additional arguments for the TikZ
|
labelTikZ |
A character string with arguments for the TikZ |
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. |
fill |
A list containing 2 elements |
fig |
Logical whether a figure environment should be created. |
fig.label |
Label for figure environment (if |
fig.caption |
Caption for figure environment (if |
nodeR |
Radius of nodes (pixel in Java, bp in LaTeX). |
scaleText |
Only used if scale is unequal 1 and |
For details see the given references.
A character string that contains LaTeX code representing the given graph.
Kornelius Rohmeyer rohmeyer@small-projects.de
The TikZ and PGF Packages Manual for version 2.00, Till Tantau, http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf
1 2 3 | g <- BonferroniHolm(5)
graph2latex(g)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.