[R] divid the rows of the matrix by the cector

Henrique Dallazuanna wwwhsd at gmail.com
Thu Mar 11 13:47:45 CET 2010


See ?sweep

On Thu, Mar 11, 2010 at 9:44 AM,  <khazaei at ceremade.dauphine.fr> wrote:
> Hi,
> I have a matrix with  m rows and n column  and a vector with n elements. I
> want to divid each rows of the matrix by vector direcly.
> could you please hint  me?
>
> Thank you
> khazaei
>
> ______________________________________________
> R-help at 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



More information about the R-help mailing list