Displaying 1 result from an estimated 1 matches for "bmodel".
Did you mean:
model
2008 Apr 28
1
variable names when using S3 methods
...oper 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 character) that have an
additional variable
foo.character <- function(model, m=5,...)
cat("foo.character: m is", m, "\n")
foo.default <- function(model, m=5,...)
cat("foo.default: m is",...