Skip to content
Prev 313021 / 398503 Next

data manipulation between vector and matrix

Hi,
On Wed, Dec 5, 2012 at 1:30 PM, C W <tmrsg11 at gmail.com> wrote:
Thanks for the actual reproducible example.
This will (note the modification to get x - mat):
[,1] [,2]
 [1,]    0  -19
 [2,]   -1  -20
 [3,]   -2  -21
 [4,]   -3  -22
 [5,]   -4  -23
etc.

--
Sarah Goslee
http://www.functionaldiversity.org