search for: qqcat

Displaying 1 result from an estimated 1 matches for "qqcat".

Did you mean: pqcat
2006 Sep 25
3
Best use of LaTeX listings package for pretty printing R code
...spaces=false,% xleftmargin=4ex,literate={<-}{{$\leftarrow$}}1 {~}{{$\sim$}}1} \lstset{escapeinside={(*}{*)}} % for (*\ref{ }*) inside lstlistings (S code) \begin{lstlisting} a <- b # this is a test line if(i==3) { # another line, for y^2 y <- 3^3 z <- 'this string' qqcat <- y ~ pol(x,2) } else y <- 4 \end{lstlisting} That was \lstinline|x <- 22| \lil{q <- 'cat'}. \end{document} -- Frank E Harrell Jr Professor and Chair School of Medicine Department of Biostatistics Vanderbilt University