There are two options, you can check to see if 'object.lm' inherits from "lm"
using 'inherits()' or make comp.var.estimates a generic and then make a method
for "lm" objects.
-roger
Michael Rennie wrote:
> Hi, there
>
> I tried this post on R-help but did not generate any replies, so I thought
Hi, there
I tried this post on R-help but did not generate any replies, so I thought
I might try the waters here since it's a more programming-based group.
I have written a function that will allow me to calculate the variance
components for a model II (random effects) single factor ANOVA (perh