Skip to content
Prev 75315 / 398502 Next

how to write assignment form of function

Dear Professor Ripley,

thank you for your answer. Adding a return value, as also Dimitris
Rizopoulos suggested the function does what I need, that is to rename
factor levels.
I tried to look at levels<-.factor in R-devel but I have to admit that I do
not know exactly where to look and searching I did not find it. For the
moment my problem is solved and I interpret your hint that way that in the
future levels<-.factor will not more drop all other attributes.

Thanks again

Heinz T??chler
At 15:18 10.08.2005 +0100, Prof Brian Ripley wrote:
factor.