Re: [R] Who can help me?

From: Henrik Bengtsson <hb_at_maths.lth.se>
Date: Tue 30 Aug 2005 - 23:47:06 EST

A quick reply,

are you looking for the matrix multiplication operator? In R it's %*%

Henrik

Christian Hinz wrote:
> I have own function wrote. I used an algorithm, which was written in Matlab.
>
> in matlab:
> ...
> gamma = inv(v)*g;
> ...
>
> #v = matrix of variable size, v=vv(k) => k=2 => dimension of v 2x2
> #g = a line vector with 4 elements e.g. g=[1,0,2,0];
>
> my rewritten r-file:
> ...
> gamma = solve(v)*g;
> ...
>
> which is my error? Who can help me?
>
> thank you in advance.
>
> Chris
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Tue Aug 30 23:53:40 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:00 EST