[R] locfit

2004-07-31 Thread Yan Yu
Hi, I have a Q on locfit, E.g., I have an input data set of the form {(x, y, v)} , (x, y) is the location in a 2D space, v is the value at that location. I am wondering for the output of locfit(), if a given point (x, y) is in the input data set, is the value at (x, y) going to be the exactly s

Re: [R] smooth.spline

2004-07-31 Thread Kjetil Halvorsen
look at packages splines mgcv and a lot of others. To see how it is implemented, look a the references in the help pages and the source code. Kjetil Halvorsen chuanjun zhang wrote: Dear Friends, Is there anybody know where I can get the code which implement the smooth.spline function in R? I have

Re: [R] pairwise difference operator

2004-07-31 Thread Marc Schwartz
On Fri, 2004-07-30 at 20:28, Marc Schwartz wrote: > On Fri, 2004-07-30 at 18:30, Adaikalavan Ramasamy wrote: > > There was a BioConductor thread today where the poster wanted to find > > pairwise difference between columns of a matrix. I suggested the slow > > solution below, hoping that someone mi

[R] smooth.spline

2004-07-31 Thread chuanjun zhang
Dear Friends, Is there anybody know where I can get the code which implement the smooth.spline function in R? I have to know how the smooth.spline is implemented. Thanks a lot. Best. Chuanjun __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.

[R] dudi.pca behaviour and discrimin

2004-07-31 Thread Sebastien Durand
Hello, I not have attached in this e-mail the zipped list of matrices I am using because it has 1 meg once zipped and anyway we cannot send attached files on r-help mailling list. First, after running the code that is written bellow, I realized that the printout of dudi.pca gives me for both

[R] Re: Optimizing a nonlinear function

2004-07-31 Thread Prof Brian Ripley
Please red the R FAQ, and what it says about not sending questions to individuals. On Fri, 30 Jul 2004 [EMAIL PROTECTED] wrote: > > Hi Prof. Ripley, > I have a nonlinear function to optimize. Please find the details on the > attached > word document. I thought it would be clearer if I gave the

RE: [R] Question about manipulating quartiles

2004-07-31 Thread Gabor Grothendieck
Check out ?by For example, data(iris) by(iris, quantcut(iris[,1]), function(x) sum(x[,1]/x[,2])) -- From: Ajay Shah <[EMAIL PROTECTED]> I know the `quantcut' function in the gregmisc package, and using it, I'm able to use functions like aggregate to compute the mean or sd() i

[R] Question about manipulating quartiles

2004-07-31 Thread Ajay Shah
I know the `quantcut' function in the gregmisc package, and using it, I'm able to use functions like aggregate to compute the mean or sd() in each quartile. What if I have a data frame containing x and y, and I want to make quartiles by x, but then compute sum x / sum y in each quartile? How does