search for: inputmat

Displaying 2 results from an estimated 2 matches for "inputmat".

Did you mean: inputmap
2009 Aug 28
2
Pls package
...to format my data into a single datframe consisting of two AsIs response and predictor dataframes in order to supply the plsr command of the pls package for principal components analysis. When I execute the command, however, I get this error: > fiber1 <- plsr(respmat ~ predmat, ncomp=1, data=inputmat,validation="LOO") Error in model.frame.default(formula = respmat ~ predmat, data = inputmat) : invalid type (list) for variable ''respmat'' I happen to have a lot of NAs in some of the columns. Is that the problem? Any input will be greatly appreciated. Thank you ver...
2011 May 05
6
Averaging uneven measurements by time with uneven numbers of measurements
I have a new device that takes measurements anywhere from every second, to every 15 minutes (depending on changes). The matrix has a date, time and Y column (Y is the measurement). For three days it is 25,000 rows. How do I average the measurements by every 30 minutes so my matrix is 48 rows per day? I have been working on this and cannot figure out a simple method. Any ideas? Thank you. ----- In