dagtex icon indicating copy to clipboard operation
dagtex copied to clipboard

lightly opinionated LaTeX DAGs in R

Results 4 dagtex issues
Sort by recently updated
recently updated
newest added

The `get_latex_code()` function works well for generating a LaTeX version of a DAG, but it includes TeX code that must go in the preamble (`\usepackage{tikz}` and `\usetikzlibrary{external}`). knitr includes [a...

dagtex() %>% add_node(int) %>% add_node(exp, right_of = int) %>% add_node(out,right_of = exp) %>% add_node(C2, , shape="rectangle",above = int) %>% add_edge(C2,int) %>% add_edge(C2,out, is_curved = TRUE,curve = "down") %>% add_edge(int,exp) #>...

I saw this tex lib. Is it possible to add it to the package api? https://github.com/jluttine/tikz-bayesnet

if you need some example tikz for the package texPreview has some built into the inst https://github.com/metrumresearchgroup/texPreview/tree/master/inst/examples/tikz https://github.com/metrumresearchgroup/texPreview/tree/master/inst/examples/pkpdTikz