[R] Solutions of equation systems
nomero at tiscali.it
Sat Aug 15 12:29:28 CEST 2009
Greg Snow wrote:
I tried to use function "solve", but I have some problems with it.
Let's try with a simple equation:
x + 3y -2z = 5
3x + 5y + 6z =7
[,1] [,2] [,3]
[1,] 1 -2 5
[2,] 3 3 6
When I try to solve this system, I find this error:
Error in solve.default(a, b) : 'b' must be compatible with 'a'
Also, when i try to solve a system with n equation and n variables,
solve works perfectly.
Thanks in advance!
More information about the R-help