-
Notifications
You must be signed in to change notification settings - Fork 1
/
Sex.R
38 lines (33 loc) · 940 Bytes
/
Sex.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
33
34
35
36
37
38
Sex <- setClass("Sex",
contains = "Column"
)
setMethod(f = "initialize",
signature = "Sex",
definition = function(.Object)
{
.Object@key[["Male"]] <- list("ì",
"ìóæ",
"ìóæ÷èíà",
"ìóæñêîé")
.Object@value[["Male"]] <- list(1)
.Object@key[["Female"]] <- list("æ",
"æåí",
"æåíùèíà",
"æåíñêèé")
.Object@value[["Female"]] <- list(0)
return(.Object)
}
)
setGeneric(name = "FindErrors",
def = function(theObject)
{
standardGeneric("FindErrors")
}
)
setMethod(f = "FindErrors",
signature = "Sex",
definition = function(theObject)
{
FindMisprints(misprint, file@table_in, theObject@column_index, theObject@key, theObject@value, file@row_header, file@row_table_legend)
}
)