| tplot | R Documentation |
Generates a plot of a tamat, tpdag or tpag object by use of Latex tikz. Note that a working Latex installation is required. Note also that this function is slower than typical R graphics options and may take some time to terminate.
tplot(
x,
filename = "causaldisco_tplot_temp",
keepfiles = FALSE,
bendedges = TRUE,
...
)
x |
A tamat, tpdag, or tpag object as obtained from |
filename |
Name of files that will be used internally during the function's
runtime. This filename will be appended with both .rmd and .pdf.
Note that unless |
keepfiles |
If |
bendedges |
If |
... |
Additional argument passed to |
The function renders Latex code using rmarkdown, which relies on a working installation of Latex. Afterwards, the resulting pdf graphic is loaded into R and displayed in a browser. If working in Rstudio it may be opened in the built-in viewer, depending on Rstudio global settings.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.