Displaying 1 result from an estimated 1 matches for "getwm".
Did you mean:
getwd
2011 Aug 26
0
R.oo inheritance with pass by reference
...quot;AgeMultiplier",
.m=m,
.perobj=perobj,
.AM=NA,
.WM=NA
)
})
setMethodS3("getPerObj", "AgeMultiplier", function(this, ...) {
this$.perobj
})
setMethodS3("getAM", "AgeMultiplier", function(this, ...) {
this$.AM
})
setMethodS3("getWM", "AgeMultiplier", function(this, ...) {
this$.WM
})
setMethodS3("doMultiplyAge", "AgeMultiplier", function(this, ...) {
a = this$.perobj;
this$.AM = a$getAge() * this$.m;
a$setAge(this$.AM);
})
setMethodS3("doMultiplyWeight", "AgeMultip...