-
Notifications
You must be signed in to change notification settings - Fork 1
/
Binary.R
32 lines (29 loc) · 764 Bytes
/
Binary.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Binary <- setClass("Binary",
contains = "Discrete"
#prototype = prototype (value = list("Zero" = list(0),
# "One" = list(1)))
)
#!!!!! contains = "Column"
setMethod(f = "initialize",
signature = "Binary",
definition = function(.Object)
{
.Object@value[["Zero"]] <- list(0)
.Object@value[["One"]]<- list(1)
return(.Object)
}
)
# setGeneric(name = "FindErrors",
# def = function(theObject, myfile, misprints)
# {
# standardGeneric("FindErrors")
# }
# )
#
# setMethod(f = "FindErrors",
# signature = "Binary",
# definition = function(theObject, myfile, misprints)
# {
# FindMisprints(misprints, myfile, theObject)
# }
# )