Hello,
first of all thank you for your reply to our help request.
On Wed, 3 Dec 2003, John Chambers wrote:
Thomas Stabla wrote:
I have defined a new class
setClass(myclass, representation(min = numeric, max = numeric))
and want to write accessor functions, so that for
foo =
Thomas Stabla wrote:
Hello,
I have defined a new class
setClass(myclass, representation(min = numeric, max = numeric))
and want to write accessor functions, so that for
foo = new(myclass, min = 0, max = 1)
min(foo) # prints 0
max(foo) # prints 1
At first i created a generic
Hello,
I have defined a new class
setClass(myclass, representation(min = numeric, max = numeric))
and want to write accessor functions, so that for
foo = new(myclass, min = 0, max = 1)
min(foo) # prints 0
max(foo) # prints 1
At first i created a generic function for min
setGeneric(min,