Displaying 2 results from an estimated 2 matches for "xmple".
Did you mean:
ample
2011 Mar 07
1
WG: Reference classes: error with missing arguments in method calls
...ass?, my ref
class methods call explicit S4 methods:
?Reference methods should be kept simple; if they need to do some
specialized R computation, that computation should use a separate R function
that is called from the reference method?
So a ref class would look like this:
setRefClass(Class="Xmple", methods=list(foo=function(var.1, ...)
fooMthd(.self=.self, var.1=var.1, ...)))
I?d like to keep the generics defs as simple as possible, thus their only
arg should be ?.self?. The S4 methods are specified in a way that if ?var.1?
is missing, it will be assigned some default value (I know I...
2011 Feb 20
0
Reference classes: error with missing arguments in method calls
...ass methods call explicit S4 methods:
"Reference methods should be kept simple; if they need to do some
specialized R computation, that computation should use a separate R function
that is called from the reference method"
So a ref class would look like this:
setRefClass(Class="Xmple", methods=list(foo=function(var.1, ...)
fooMthd(.self=.self, var.1=var.1, ...)))
I'd like to keep the generics defs as simple as possible, thus their only
arg should be '.self'. The S4 methods are specified in a way that if 'var.1'
is missing, it will be assigned some...