[R] how can I do this sum?
Ben Bolker
bolker at ufl.edu
Mon Aug 11 21:51:59 CEST 2008
dott <dorothy99 <at> gmail.com> writes:
>
>
> Matlab has .*, so that
> t(x1,x2).*t(x3,x4).* t(x5,x6)
>
> but what is .* in R?
>
> Thanks.
> Dot.
>
Element-wise multiplication is just * in R
(do you really mean "sum" or is that a general expression
for "calculation"?)
See also
http://wiki.r-project.org/rwiki/doku.php?id=getting-started:translations:octave2r
(although that doesn't seem to answer your particular question)
More information about the R-help
mailing list