[R] akima interpolation and triangulation question

2008-05-29 Thread steven wilson
Dear all; First of all, this is probably a more conceptual question than a R-related one, but still want to give it a try. When working with the interpolation function "interp" from the package akima and the triangulation function "tri.mesh" from package tripack I've got NA's for the interpolation

Re: [R] akima interpolation and triangulation question

2008-05-29 Thread steven wilson
e is no problem with interpolating from a regular grid, but be aware > that the triangulation-based methods are not isotropic in such a case (as > the triangulation is not unique). > > R-sig-geo would be a more appropriate list for such questions. > > On Thu, 29 May 2008, steven

[R] R + Linux

2008-06-06 Thread steven wilson
Dear all; I'm planning to install Linux on my computer to run R (I'm bored of W..XP). However, I haven't used Linux before and I would appreciate, if possible, suggestions/comments about what could be the best option install, say Fedora, Ubuntu or OpenSuse which to my impression are the most popul

[R] ylab position in levelplot

2008-06-24 Thread steven wilson
is it possible to change the position of the ylab in a lavelplot from the default (left) to the right? thanks sw __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/p

[R] PCA / PLS for serially correlated samples

2008-04-20 Thread steven wilson
Dear list members; Does anyone know if there is an R package that can perform PCA or PLS regression accounting for serial correlation (of the samples)? Thanks for any hint Steve __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

[R] Fwd: efficient code - yet another question

2008-04-30 Thread steven wilson
} Xh <- Xh - tcrossprod(th) T <- cbind(T, th); P <- cbind(P, ph) nr <- 0 } list(T = T, P = P) } Thanks again -- Forwarded message -- From: steven wilson <[EMAIL PROTECTED]>

[R] efficient code - yet another question

2008-04-30 Thread steven wilson
Dear list members; The code given below corresponds to the PCA-NIPALS (principal component analysis) algorithm adapted from the nipals function in the package chemometrics. The reason for using NIPALS instead of SVD is the ability of this algorithm to handle missing values, but that's a different

[R] PCA + x-validation

2008-02-07 Thread steven wilson
Dear all; Does anyone have implemented a function for cross-validation in PCA? I know of one in the package pcaMethods but it doesn't work as I need. Assuming there's no one available, I tried to write a function for doing CV using prcomp but I'm not sure to understand how to obtain the PRESS erro

[R] suggest appropriate model?

2007-11-03 Thread steven wilson
Dear R users; I've been trying to fit the following set of data using something like the sum of two functions (biphasic function) but without success. I'd like to know if anybody can suggest a better or appropriate expectation function to use. Here is the data: x=c(298.15,308.15,318.15,328.15,338