Learn R Programming

ibawds (version 1.1.0)

define_latex_stats: 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()

Arguments

Value

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

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.