Re: [R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread Rui Barradas
Hello, meredith wrote > > Afternoon- > I am trying to subtract a matrix, basically a vector of 28 values, each > by the same number to account for differences in regression fitting. I am > taking the 1x28 and minus it by the mean value of the matrix, each number. > The result I receive is a 1X

Re: [R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread John Kane
From: mmbal...@mtu.edu > Sent: Mon, 7 May 2012 12:26:15 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Subtracting a matrix 1x28 from a scalar > > Afternoon- > I am trying to subtract a matrix, basically a vector of 28 values, each > by > the same number to ac

Re: [R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread John Kane
From: mmbal...@mtu.edu > Sent: Mon, 7 May 2012 12:26:15 -0700 (PDT) > To: r-help@r-project.org > Subject: [R] Subtracting a matrix 1x28 from a scalar > > Afternoon- > I am trying to subtract a matrix, basically a vector of 28 values, each > by > the same number to ac

Re: [R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread meredith
* Disregard message please Afternoon- I am trying to subtract a matrix, basically a vector of 28 values, each by the same number to account for differences in regression fitting. I am taking the 1x28 and minus it by the mean value of the matrix, each number. The result I receive is a 1X29 matri

Re: [R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread David Winsemius
On May 7, 2012, at 3:26 PM, meredith wrote: Afternoon- I am trying to subtract a matrix, basically a vector of 28 values, each by the same number to account for differences in regression fitting. I am taking the 1x28 and minus it by the mean value of the matrix, each number. The result I

[R] Subtracting a matrix 1x28 from a scalar

2012-05-07 Thread meredith
Afternoon- I am trying to subtract a matrix, basically a vector of 28 values, each by the same number to account for differences in regression fitting. I am taking the 1x28 and minus it by the mean value of the matrix, each number. The result I receive is a 1X29 matrix. Does anyone know why the r