Skip to content
Prev 138866 / 398506 Next

LaTeX in R

Mario Maiworm wrote:
Yes:


mySigma <- 2
plot(1:10, dnorm(1:10, sd = mySigma), type='l')
legend(x = "topright", lty = 1,
        legend = substitute(sigma == myS, list(myS = mySigma)))


Uwe Ligges