similar to: rpart postscript graphics, Mac OS

Displaying 20 results from an estimated 10000 matches similar to: "rpart postscript graphics, Mac OS"

2003 Nov 19
0
solution: rpart graphics, Mac
Concerning tree graphics being trimmed, I received two suggestions, both of which worked. (a) plot(..., margin=0.1) (b) set par(xpd=NA), then plot Thanks!
2001 Sep 14
0
rpart or Postscript problem?
I've run into another postscript/rpart problem unrelated to the issues I've mentioned in a previous query. I'm using 1.3.1 on a Win2K box. >plotcp(some.rpart.object) draws a very nice plot on the windows graphic device. If I save this as a postscript file, either by opening a postscript device before calling plotcp, or by saving the graphics window as a postscript file, the
2010 Sep 06
1
PostScript/PDF graphics with another font
I am using the standard phonetic font "Doulos SIL" in a graph (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=DoulosSILfont) This is an example: windowsFonts(IPA="TT Doulos SIL") barplot(c(1,2,3,4,5),names=c("\u{0251}","\u{0252}","\u{0253}","\u{0254}","\u{0255}"),family="IPA") However, I am unable
2010 Dec 16
1
defining a formula method for a weighted lm()
In the vcdExtra package on R-Forge, I have functions and generic methods for calculating log odds ratios for R x C x strata tables. I'd like to define methods for fitting weighted lm()s to the resulting loddsratio objects, but I'm having problems figuring out how to do this generally. # install.packages("vcdExtra", repos="http://R-Forge.R-Project.org")
2010 Apr 11
0
plotting rpart objects, text.rpart, fancy option
I have created plots of rpart objects with the fancy option for text.rpart ("fancy" creates ellipses and rectangles and labels branches with splitting criteria). The ellipses and rectangles are supposed to "interrupt" the tree lines (as seen in Therneau and Atkinson 1997, page 48, Fig. 18, http://www.mayo.edu/hsr/techrpt/61.pdf), but they do not, even when I use Therneau and
2003 Nov 08
0
rpart node size
After getting an error, I figured out that there is a minimum node size for doing classification trees with rpart. Surely nodes with too few observations are not reliable. However, I have not found any references to how one might set the min node size. Knowing this number will allow me to calculate how much data I need for the tree to get reliable results (it's expensive to run
2004 Nov 12
1
plot.rpart ignores uniform=TRUE if graphics device is not open (PR#7361)
Full_Name: Hsiu-Khuern Tang Version: 2.0.0 OS: Debian GNU/Linux Submission from: (NULL) (156.153.255.236) Hi all, If fit is an rpart object, plot(fit, uniform=TRUE) ignores uniform=TRUE if the graphics device is not already open. To reproduce this: library("rpart") example(plot.rpart) dev.off() # <- works OK without this plot(fit, uniform=TRUE) # <- uniform=TRUE is ignored
2007 Feb 27
0
plotting rpart objects - fancy option
Hi all, I'm trying to create nice plots of rpart objects. In particular, I'd like to use the "fancy" option to text() that creates ellipses and rectangles at the splits and endnotes, respectively. This worked fine in the past, but now the ellipses do not interrupt the original tree lines anymore but overlay them (see attached ps file). I'd like it to look the way Figure
2008 Oct 15
5
REXML vs libxml
Hi all, I''ve been looking at the performance of my fb app and one glaring issue seems to be with the parsing speed of rexml in processing the results. Has anyone looked into porting the facebooker parser from rexml to libxml? If not, any reason I shouldn''t try? Thanks! Yu-Shan. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Jun 20
5
How To Free memory
Hi All, My CentOS 5.0 is running on x86 machine with 4GB RAM. It runs as a webserver and there is a small java applet application. When the system is fresh reboot, there is below 1GB of used memory and as times go , the used memory increased to over 3.5GB. Is there a way to free memory out like those program which works under Windows? Thank you. -------------- next part -------------- An HTML
2007 May 09
2
CentOS 4.4 Installation on Dell poweredge 2900 raid 1 + raid 5 fail
Hi All, I install CentOS 4.4 without additional driver disk. When I partition the disk, I create nothing on the raid 5, and I just create " / " " /boot " and "swap" on the raid 1. And it works. When I create a mount point /storage on the raid 5 and create " / " " /boot " and "swap" on the raid 1. The error comes again, saying that
2006 Jan 27
1
Classifying Intertwined Spirals
I'm using an SVM as I've seen a paper that reported extremely good results. I'm not having such luck. I'm also interested in ideas for other approaches to the problem that can also be applied to general problems (no assuming that we're looking for spirals). Here is my code: library(mlbench) library(e1071) raw <- mlbench.spirals(194, 2) spiral <-
2011 Apr 08
4
Rpart decision tree
Dear useRs: I try to plot an rpart object but cannot get a nice tree structure plot. I am using plot.rpart and text.rpart (please see below) but the branches that connect the nodes overlap the text in the ellipses and rectangles. Is there a way to get a clean nice tree plot (as in the Rpart Mayo report)? I work under Windows and use R2.11.1 with rpart version 3.1-46. Thank you. Tudor ...
2016 Nov 14
2
getGraphicsEvent() alternative for cairo graphics device?
Thanks Frederick. Mark, if you have any examples to share, they would also be gratefully received. Paul On 14/11/16 14:53, frederik at ofb.net wrote: > Hi Paul, > > OK I tried not to make the examples too fancy. > > Please let me know what you think. They should probably be amended to > support the Windows platform, but I think that task would be much > easier for someone
2003 Jul 17
1
Rpart question - labeling nodes with something not in x$frame
I have a tree created with tr.hh.logcas <- rpart(log(YCASSX + 1)~AGE+DRUGUSEY+SEX+OBSXNUM +WINDLE, xval = 10) I would like to label the nodes with YCASSX rather than log(YCASSX + 1). But the help file for text in library rpart says that you can only use labels that are part of x$frame, which YCASSX is not. Is there a way to do what I want? Thanks in advance Peter Peter L. Flom, PhD
2003 May 25
1
Example Data Set(s) for nnet, rpart
Hi, I'm doing a presentation on Neural Networks and Tree-Based Models in two weeks, at the moment I'm looking for a data set to use in the presentation. What I would like to use is a good old data, like the Iris data, that is already known by every statisticians. MASS4 uses the cpus data in Chapter 8.10 and the Cushing's syndrome in Chapter 12.4. These two data sets plus the
2003 Aug 15
3
How to reinstall rpart?
After entering ?library(rpart)?, I tried to plot an existing rpart tree, and got this error message: Error: couldn't find function "plot.rpart". However, ??plot.rpart? does bring up the help for the function. The same things occur for text.rpart, although print(my.tree) does work. So, I tried to re-install rpart using Packages | Install from CRAN, but then I get this
2004 Mar 19
2
Why is rpart() so slow?
I've had rpart running on a problem now for a couple of *days*, but I'd expect a decision tree builder to run in minutes if not seconds. Why is rpart slow? Is there anything I can do to make it quicker?
2007 May 12
2
HA with CentOS
Hi All, I have two identical computers with CentOS 5.0 and lampp installed. Are there any high-availability solution for CentOS? So, when one one computer offline, another could act as a backup and being transparent to user. Regards, Tong -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Apr 26
2
grep and strings
I have the following command: length( grep("\.a\.", names(temp))) where temp is a vector with names I want to count the number of entries that contain the sequence of characters ".a.". However, R seems to return all entries that contain "a" (every entry contains "." in this example). How should I fix this? Thanks __________________________________