happy-git-with-r icon indicating copy to clipboard operation
happy-git-with-r copied to clipboard

render formula in .R script

Open pricer-landcare opened this issue 3 years ago • 0 comments

An example of getting formulas to render when using rmarkdown::render() on an R script.

For example, the following doesn't render as a formula in an R script but does from an RmD: #'$f(k) = {n \choose k} p^{k} (1-p)^{n-k}$

pricer-landcare avatar Dec 10 '21 04:12 pricer-landcare