Re: [R] Solutions of equation systems

2009-08-16 Thread Moreno Mancosu
Ravi Varadhan wrote: [cut] It seems to work! Thanks a lot Ravi and Berend. Moreno. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and

Re: [R] Solutions of equation systems

2009-08-15 Thread Moreno Mancosu
Greg Snow wrote: ?solve Dear Greg, 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 a-matrix(c(1,3,-2,3,5,6),nrow=2,ncol=3) a [,1] [,2] [,3] [1,]1 -25 [2,]336

Re: [R] Solutions of equation systems

2009-08-15 Thread Berend Hasselman
Moreno Mancosu wrote: Dear Greg, 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 a-matrix(c(1,3,-2,3,5,6),nrow=2,ncol=3) a [,1] [,2] [,3] [1,]1 -25 [2,]336

Re: [R] Solutions of equation systems

2009-08-15 Thread Ravi Varadhan
Hopkins University Ph. (410) 502-2619 email: rvarad...@jhmi.edu - Original Message - From: Berend Hasselman b...@xs4all.nl Date: Saturday, August 15, 2009 10:03 am Subject: Re: [R] Solutions of equation systems To: r-help@r-project.org Moreno Mancosu wrote: Dear Greg

Re: [R] Solutions of equation systems

2009-08-14 Thread Moreno Mancosu
Moshe Olshansky wrote: Is your system of equations linear? dear sir, Yes, the system is linear. It can have this form: a x + b y + c z = d e x + f y + g z = h But it can be more complex. I would like to calculate in R the solutions under the form of equation of x,y and z. Any idea?

Re: [R] Solutions of equation systems

2009-08-14 Thread Greg Snow
To: Moshe Olshansky; r-help@r-project.org Subject: Re: [R] Solutions of equation systems Moshe Olshansky wrote: Is your system of equations linear? dear sir, Yes, the system is linear. It can have this form: a x + b y + c z = d e x + f y + g z = h But it can be more complex. I

[R] Solutions of equation systems

2009-08-13 Thread Moreno Mancosu
Hello all! Maybe it's a newbie question(in fact I _am_, a newbie), but I hope you'll find the solution. I have an equation system which has k equation and n variables (kn). I would like to obtain a description of the solutions (which can be the equation of lines or a plane, or everything

Re: [R] Solutions of equation systems

2009-08-13 Thread Moshe Olshansky
Is your system of equations linear? --- On Fri, 14/8/09, Moreno Mancosu nom...@tiscali.it wrote: From: Moreno Mancosu nom...@tiscali.it Subject: [R] Solutions of equation systems To: r-help@r-project.org Received: Friday, 14 August, 2009, 2:29 AM Hello all! Maybe it's a newbie question