Re: [R-sig-Geo] Coercing character to image

2008-06-25 Thread adrian
Honey Giroday <[EMAIL PROTECTED]> writes: > xxx04 <- ppp(x=mpb04$Easting, y=mpb04$Northing, window=tpi1.win) > dens2004<-density(xxx04) > save(dens2004, file="dens2003.Rdata") > dens2004.load<-load("dens2004.Rdata") > dens2004.im<-as.im(dens2004.load, W=tpi1.win) > > fm <- ppm(xxx04, ~x + y + den

Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Roger Bivand
lem further. Any help you can provide would be wonderful. Thank you. Sincerely, Honey-Marie de la Giroday Date: Tue, 24 Jun 2008 11:40:42 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: r-sig-geo@stat.math.ethz.ch Subject: Re: [R-sig-Geo] Coercing character to image On Tue, 24 Jun 200

Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Honey Giroday
ope this elucidates the problem further. Any help you can provide would be wonderful. Thank you. Sincerely, Honey-Marie de la Giroday > Date: Tue, 24 Jun 2008 11:40:42 +0200 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: r-sig-geo@stat.math.ethz.ch > Subject: Re:

Re: [R-sig-Geo] Coercing character to image

2008-06-24 Thread Roger Bivand
On Tue, 24 Jun 2008, Honey Giroday wrote: Hi, I'm currently trying to use save() on a density plot (i.e. an image) that takes a long time to generate (using density(x)). I want to be able to use the saved dataset as a covariate in ppm. However, once my image is saved and loaded back in i

[R-sig-Geo] Coercing character to image

2008-06-23 Thread Honey Giroday
Hi, I'm currently trying to use save() on a density plot (i.e. an image) that takes a long time to generate (using density(x)). I want to be able to use the saved dataset as a covariate in ppm. However, once my image is saved and loaded back in it is a character object instead of an image.