[R] Use and misuse of "update" function for non-models. Any views/recommendations??

Søren Højsgaard Soren.Hojsgaard at agrsci.dk
Tue Nov 20 13:01:22 CET 2007


Dear all,
 
I wonder if it is "bad style" (or something worse) to create an "update" function which does not work on model objects of the lm, glm etc. type. Specifically, I have some graph objects (graphs as mathematical objects, not as displays) which I want to alter and for that purpose I thought of writing an update function. Would doing so violate a "deeper philosophy" in the R system or have other unfortunate consequences. If so, I'm happy to hear other suggestions...
 
Regards
Søren



More information about the R-help mailing list