Re: [R] Cannot rescale a constant/zero column error.

2012-11-02 Thread Jason Fill
Petr, Thank you for your reply, I actually figured out the issue this morning, I needed to add more data to my data file and it resolved it. Thanks again for everyones time! Jason On Nov 2, 2012, at 9:00 AM, PIKAL Petr wrote: > Hi > >> >> Jim, >> >> Thank you for your reply. I guess I am

Re: [R] Cannot rescale a constant/zero column error.

2012-11-02 Thread PIKAL Petr
Hi > > Jim, > > Thank you for your reply. I guess I am just not understanding what the > difference is. If I run your example using the pcmatrix<- > data.frame(Q1=sample(1:5,10,TRUE),Q2=sample(1:5,10,TRUE)) and print out > pcmatrix I get: > > Q1 Q2 > 1 98 99 Thats rather

Re: [R] Cannot rescale a constant/zero column error.

2012-11-02 Thread Jason Fill
Jim, Thank you for your reply. I guess I am just not understanding what the difference is. If I run your example using the pcmatrix<-data.frame(Q1=sample(1:5,10,TRUE),Q2=sample(1:5,10,TRUE)) and print out pcmatrix I get: Q1 Q2 1 98 99 Then if I mirror my input file t

Re: [R] Cannot rescale a constant/zero column error.

2012-11-01 Thread Jim Lemon
On 10/31/2012 11:47 PM, fillay89 wrote: I am trying to run the R Script below, I have actually simplified it to just this part that is causing issues. When I run this script I continue to get an error that says "cannot rescale a constant/zero column to a unit variance". I cannot figure out what

Re: [R] Cannot rescale a constant/zero column error.

2012-10-31 Thread Kevin Wright
Sounds like one of your data columns is constant. The variance of a constant is 0, and scaling would then divide by 0, which is impossible. Kevin Wright On Wed, Oct 31, 2012 at 7:47 AM, fillay89 wrote: > I am trying to run the R Script below, I have actually simplified it to > just > this par

Re: [R] Cannot rescale a constant/zero column error.

2012-10-31 Thread Jason Fill
Sorry about that, this is my first time posting. Below is the complete post. I am trying to run the R Script below, I have actually simplified it to just this part that is causing issues. When I run this script I continue to get an error that says "cannot rescale a con

Re: [R] Cannot rescale a constant/zero column error.

2012-10-31 Thread David Winsemius
On Oct 31, 2012, at 5:47 AM, fillay89 wrote: > I am trying to run the R Script below, There is no script (or data description) appearing in this posting to the Rhelp Mailing List. Nabble is not Rhelp, despite Nabble's effort to get you to think it is an archive. Please review the Posting Guid

[R] Cannot rescale a constant/zero column error.

2012-10-31 Thread fillay89
I am trying to run the R Script below, I have actually simplified it to just this part that is causing issues. When I run this script I continue to get an error that says "cannot rescale a constant/zero column to a unit variance". I cannot figure out what is going on here. I have stripped down m