Displaying 2 results from an estimated 2 matches for "rendahl".
2008 Apr 28
1
variable names when using S3 methods
...and having variables that start with the same letter. I have a vague
recollection of reading something about this once but now can't seem
to find anything in the documentation. Any explanation, or a link to
the proper documentation, if it does exist, would be appreciated.
Thanks, Aaron Rendahl
University of Minnesota School of Statistics
# set up two function that both use method "foo" but with different
variable names
fooA<-function(model,...)
UseMethod("foo")
fooB<-function(Bmodel,...)
UseMethod("foo")
# now set up two methods (default and cha...
2010 Feb 23
2
importing S4 methods using a namespace
...summary")
export("ss")
---------------------------
But when I call my new function, I get the summary.default method
instead of the mer method.
> m <- lmer(Reaction ~ Days + (Days|Subject), sleepstudy)
> ss(m)
Length Class Mode
1 mer S4
Thanks,
--
Aaron Rendahl, Ph.D.
Statistical Consulting Manager
School of Statistics, University of Minnesota
NEW OFFICE (as of June 2009):
48C McNeal Hall, St. Paul Campus
612-625-1062
www.stat.umn.edu/consulting