[R] replacing values in a matrix or data.frame

From: <assuncao.senra_at_portugalmail.com>
Date: Mon 05 Jul 2004 - 19:32:46 EST


I have a matrix where I want to replace the entries of each column by the proportion value of the times each entrie appears in that column, that is, In each column there 4 to 10 repeated values, for wich i can compute frequencies in the respective column, and then i want to replace each value for its respective frequencie in another matrix. Can someone help me?

Thanks for all the help.

Quanto gasta de Acesso Ó Internet? Faša as contas! http://acesso.portugalmail.pt/contas

R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jul 05 19:36:30 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 09:29:20 EST