Try: solve(a)
On Mon, Dec 28, 2009 at 8:53 AM, FMH <kagba2...@yahoo.com> wrote: > Dear All, > > Let A is a matrix which is: > A <- matrix(c(1,2,3,4),nrow=2) > > How could we find the inverse of A? I try to use ginv(A), but it didn't > worked. > > Thanks > > Fir > > ______________________________________________ > 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 provide commented, minimal, self-contained, reproducible code. > -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40" S 49° 16' 22" O ______________________________________________ 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 provide commented, minimal, self-contained, reproducible code.