Re: [R] Dataframes in PLS package

2012-03-04 Thread westland
depy and indx. Can anyone perhaps give me a clearer explanation? - J. Christopher Westland Professor, Information & Decision Sciences, University of Illinois - Chicago 601 S. Morgan Street (UH2400) Chicago, IL60607-7124 Telephone +1.312.860.0587 Google Voice +1.209.757.8849 we

Re: [R] Dataframes in PLS package

2012-03-04 Thread westland
7; and my intent is to convert this to data.frames that the plsr package can parse ... a dput(pls) gives me ... lots and lots of leading line information ... 0L, 0L, 1L, 2L, 0L, 0L, 1L, 1L, 0L, 0L, 0L, 2L, 1L, 0L, 1L, 2L, 1L, 0L, 1L, 0L, 0L, 0L, 1L, 1L, 0L, 0L, 0L, 1L

Re: [R] Dataframes in PLS package

2012-03-04 Thread westland
1L, 0L, 0L, 1L, 1L, 1L, 1L, 0L, 1L, 0L, 1L, 1L, 1L, 1L)), .Names = c("depy.w", "depy.h", "depy.d", "depy.s", "indx.a", "indx.i", "indx.r", "indx.x"), row.names = c(NA, -10000L), class = "data.frame")

Re: [R] Dataframes in PLS package

2012-03-03 Thread westland
invalid type (list) for variable 'dep' [13] ERROR: object of type 'closure' is not subsettable I'm sure now that this is a problem in my creation of data.frames, but can't seem to find anything that describes the problem - J. Christopher Westland Professo

Re: [R] Dataframes in PLS package

2012-02-21 Thread Chris Westland
emulate in your pls interface) but I still don't really 'get it'. Thanks again for your help on this Chris 2012/2/21 Bjørn-Helge Mevik > westland writes: > > > Here is what I have done: > > > > I read in an 1 x 8 table of data, and assign the first

[R] Dataframes in PLS package

2012-02-20 Thread westland
I have been working with the pls procedure and have problems getting the procedure to work with matrix or frame data. I suspect the problem lies in my understanding of frames, but can't find anything in the documentation that will help. Here is what I have done: I read in an 1 x 8 table of