search for: cl1object

Displaying 1 result from an estimated 1 matches for "cl1object".

Did you mean: cgsobject
2012 Jan 04
1
Is there a way to update a method on an existing Reference Class object?
..., ? ? fitModel=function(){"Fit different kind of models and keep the results in x and other fields"}, ? ? plotFit1=function(){"Plot the fit one way"}, ? ? plotFit2=function(){"Plot the fit in another way way"}) ) I would then initialize it and run the functions on it: cl1Object <- cl1$new() ... The problem then comes if I need to change something in one of the methods, because I then have to run all the initialization and fitting again, since the change is done to "cl1" and not "cl1Object", of course. The reference class documentation states that...