[R] library(rpart) or library(tree)

2007-12-19 Thread Ingo Holz
Hi, I have a problem with library (rpart) (and/or library(tree)). I use a data.frame with variables "pnV22" (observation: 1, 0 or yes, no) "JTemp" (mean temperature) "SNied" (summer rain) I used function "rpart" to build a model: library(rpart) attach(data.frame) res

Re: [R] problem with png()

2007-11-15 Thread Ingo Holz
margins or pointsize. > > On Thu, 15 Nov 2007, Ingo Holz wrote: > > > Hi, > > > > I am runing R2.6.0 (2007-10-03) on WindowsXP. > > > > If I use png() to save a plot I lose the main title. > > > > An example: > > > >

[R] problem with png()

2007-11-15 Thread Ingo Holz
Hi, I am runing R2.6.0 (2007-10-03) on WindowsXP. If I use png() to save a plot I lose the main title. An example: ## outfile <- "outfile.png" p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height", main="Ingo's title") p2 <- histogram( ~ height, data