Displaying estimators from specpool or estimateR
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