Skip to content
Prev 79401 / 398502 Next

Attributing values to matrix according to names

Dear Peter and Uwe

Thanks for your suggestions.
However,
Still gives the indexing problem, guess because not all element of count can be found in data.

Found a way round this by
What works for me but I am convinced there is a far more elegant way.

Kind regards

Manuel

-----Original Message-----
From: pd at pubhealth.ku.dk [mailto:pd at pubhealth.ku.dk] On Behalf Of Peter Dalgaard
Sent: Thursday, October 20, 2005 4:29 PM
To: Schneider, Manuel
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Attributing values to matrix according to names

"Schneider, Manuel" <Manuel.Schneider at eawag.ch> writes:
Well, you don't have a row named "names(count)" now do you? Try
dropping the quotes.