Displaying 1 result from an estimated 1 matches for "dtreeeb".
Did you mean:
dtree
2004 Aug 21
3
sweave and post "rpart"
Hi,
have anybody positive experience how
it is possible get the post output from a
rpart-object in a large sweave file or is only the
less nicely plot function instead of post possible???
\begin{figure}[htbp]
\begin{center}
<<fig=true,eps=T>>=
post(dtreeEB, title="Tree",digits=getOption("digits") - 0,use.n=TRUE)
@
\caption{Tree1}
\end{center}
\end{figure}
(1) if the rpart object result contain only the root node, i get this
error:
Error: chunk 21
Error in if (is.leaf[lson]) left <- list(left = x[lson], right = x[lson]...