Re: [R] smooth scatterplot and geo map

2011-07-28 Thread Leo Guelman
check smooth.ppp{spatstat} which performs spatial smoothing based on a Gaussian kernel...it has a plot method that may do what you are looking for hope this helps, Leo. On Thu, Jul 28, 2011 at 4:09 PM, marco marco.mile...@aim.uzh.ch wrote: Hello everybody, I'm trying to understand how to

Re: [R] Simple example of using a closure in R to manage bank accounts?

2011-07-25 Thread Leo Guelman
something like this maybe? account - function (balance=0) { function (d = 0,w = 0) { newbal - balance + d - w balance - newbal newbal } } John - account(100) John John(d=100,w=50) John() Leo - account(1000) Leo Leo(d=1000,w=50) Leo() Leo(d=100,w=500)

[R] Linear Contrasts in GLM - Query

2009-09-04 Thread Leo Guelman
Hi, Is there a way I can specify linear contrasts in glm? I'm looking for something equivalent to SAS' contrast statement. I'd like to do the following, suppose I have a categorical input with 4 levels (a,b,c,d), I'd like to test something like: (i) a+b=c+d, (ii) a=b, (iii) a=b+d, etc...

[R] R Courses in Toronto

2009-06-11 Thread Leo Guelman
Dear R users, Does anybody know if there any good R courses within the Toronto area? Thanks! [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting

[R] Rdonlp2 -Query

2009-03-07 Thread Leo Guelman
Hi, Did anyone used this package? Could you please share your thought on it? Thanks! L. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide