Re: [R] Reducing augmented matrices

2010-01-20 Thread Charles C. Berry
On Tue, 19 Jan 2010, jshort wrote: Hi How does one tell R that one is using an augmented matrix as appose to an non-augmented matrix? Explicitly creating an augmented matrix is unnecessary and awkward if the object is to solve a system of linear equations. See: ?solve HTH,

[R] Reducing augmented matrices

2010-01-19 Thread jshort
Hi How does one tell R that one is using an augmented matrix as appose to an non-augmented matrix? For instance, when I want to solve two equations in two unknowns, I will have to solve a 2 by 3 augmented matrix, however all I know to type into R is something like this; weights =