ices-eg / wg_HAWG

Herring Assessment Working Group for the Area South of 62°N
0 stars 7 forks source link

Residual Accessor functions #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We currently have a set of accessors. Are we happy with them? Or should we, for 
example, copy the methods setup for "lm", "glm", "gam" classes e.g.

residuals()
resid()
coefficients()
fitted.values()

The only thing that is missing from this is some way to get easily at the 
observations and the meta-data (ie fleet name, age etc)

I rate this as a High-priority, because we should try and stablise this part of 
it, so that other people (Laurie, Susan) can then develop on top of this 
functionality

Original issue reported on code.google.com by markpayn...@gmail.com on 4 Nov 2011 at 8:02

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 4 Nov 2011 at 8:03

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 4 Nov 2011 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 4 Nov 2011 at 9:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Current function accessor functions:

library(FLSAM)
data(NSH.sam)
residuals(NSH.sam)
params(NSH.sam)

Original comment by markpayn...@gmail.com on 4 Nov 2011 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 8 Nov 2011 at 3:28

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 9 Nov 2011 at 9:39

GoogleCodeExporter commented 9 years ago

Original comment by markpayn...@gmail.com on 1 Mar 2012 at 9:22