- Get Emacs to ignore contents of \Sexpr{} command in Sweave document to prevent incorrect $-based syntax highlighting
- foo$p.value
- foo[['p.value']]
- <<echo=FALSE, results=hide>>=
- t1 <- chisq.test(someVar)
- p1 <- formatC(t1$p.value, format="%f", digits=2)
- @
- dots with a $p$-value of Sexpr{p1}.