[R-sig-eco] Displaying estimators from specpool or estimateR
Jari Oksanen
jari.oksanen at oulu.fi
Fri Jan 21 18:54:40 CET 2011
On 21/01/11 17:02 PM, "Martin Unterseher"
<martin.unterseher at uni-greifswald.de> wrote:
> \begin{figure}
> <<fig=true>>=
> pool.test<-poolaccum(test)
> plot(pool.test)
> @
> \end{figure}
Martin,
You should set echo=false in Sweave so that your figure environment is not
polluted with the echoed commands, and since you use lattice graphics, you
must print() it. This works:
\begin{figure}
<<fig=true,echo=false>>=
pool.test<-poolaccum(test)
print(plot(pool.test))
@
Cheers, jari oksanen
More information about the R-sig-ecology
mailing list