$\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.
$\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.