define_latex_stats {ibawds}R Documentation

Define LaTeX commands for statistical symbols

Description

Add the definitions for various useful LaTeX equation symbols for statistics to an RMarkdown document.

Usage

define_latex_stats()

Details

Run this function from within a code chunk in a RMarkdown document with options results = "asis" and echo = FALSE (see "Examples"). It only works for pdf output.

It defines the following macros: ⁠\E⁠, ⁠\P⁠, ⁠\Var⁠, ⁠\Cov⁠, ⁠\Cor⁠, ⁠\SD⁠, ⁠\SE⁠, ⁠\Xb⁠, ⁠\Yb⁠.

Value

The function returns NULL invisibly. The command definitions are output as a side effect.

Examples

## Not run: 
# add this code chunk to a RMarkdown document
```{r results = "asis", echo = FALSE}
  define_latex_stats()
```

## End(Not run)


[Package ibawds version 0.6.0 Index]