Re: [R] Need help with error

2011-03-22 Thread Savitri N Appana
Thank you very much Peter. It works fine now Best, Savi >>> Peter Ehlers 3/22/2011 5:49 AM >>> On 2011-03-21 10:37, Savitri N Appana wrote: > Thank you for your suggestion Allan. I should have paid attention to > the posting instructions. > > > Pls find below the sample code from the ?splsd

Re: [R] Need help with error

2011-03-22 Thread Peter Ehlers
On 2011-03-21 10:37, Savitri N Appana wrote: Thank you for your suggestion Allan. I should have paid attention to the posting instructions. Pls find below the sample code from the ?splsda in the caret package. Note: It used to work fine in R v2.8.1, but this error shows up now, given that I'v

Re: [R] Need help with error

2011-03-21 Thread Savitri N Appana
Thank you for your suggestion Allan. I should have paid attention to the posting instructions. Pls find below the sample code from the ?splsda in the caret package. Note: It used to work fine in R v2.8.1, but this error shows up now, given that I've modified the code on how the splsda or predi

Re: [R] Need help with error

2011-03-19 Thread Allan Engelhardt
As it says at the bottom of every post: PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Without an example that fails, it is hard to help. Allan On 18/03/11 16:26, Savitri N Appana wrote: Hi R use

[R] Need help with error

2011-03-18 Thread Savitri N Appana
Hi R users, I am getting the following error when using the splsda function in R v2.12.1: "Error in switch(classifier, logistic = { : EXPR must be a length 1 vector" What does this mean and how do I fix this? Thank you in advance! Best, Savi __ R-he

[R] Need help with error number of items to replace is not a multiple of replacement length

2010-09-06 Thread monica1221
Hello, I am brand new to R and need a little help understanding what I'm doing wrong here! Please excuse me, I might have the terminology incorrect. What I've got is: A dataset ami07.data with a variable ami_fy07. There are 2929 values in this dataset, each representing a value for a unique hospi

[R] need help with error message:Error in lm.fit(design, t(M)) : incompatible dimensions

2007-11-13 Thread Manisha Brahmachary
Hello, I am trying to run a code (see reference section) and when I run the line: fit<-lmFit(xen1dataeset,design), I get the error message: Error in lm.fit(design, t(M)) : incompatible dimensions I will really appreciate if someone can help me understand this error message and possibl