Is there any way to type inline code in latex math mode in rMarkdown?

Viewed 410
$\bar{X} = \frac{5+10+15}{3}= `r (5+10+15)/3`$

I was trying to type something like this, hoping to let R evaluate the inline code automatically inside latex math mode.

0 Answers
Related