search for: validtrackobject

Displaying 1 result from an estimated 1 matches for "validtrackobject".

2005 Mar 18
0
2 possible bugs in function validObject (PR#7735)
...l Statistician Statistical Genetics and Biomarkers Bristol-Myers Squibb Company Email: scott.chasalow <AT> bms.com ================================== ------ BEGIN R commands and output ------ setClass("track", representation(x = "numeric", y = "numeric")) validTrackObject <- function(x){ if(length(x@x) == length(x@y)) TRUE else paste("Oooo that's bad", LETTERS[1:4]) } ## assign the function as the validity method for the class setValidity("track", validTrackObject) ## Now define class "field", to include a "tra...