-
Notifications
You must be signed in to change notification settings - Fork 1
/
NyhaClass.R
30 lines (25 loc) · 841 Bytes
/
NyhaClass.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
NyhaClass <- setClass("NyhaClass",
contains = "Column"
)
setMethod(f = "initialize",
signature = "NyhaClass",
definition = function(.Object)
{
.Object@value[["NyhaClass"]] <- list(1, 2, 3, 4)
return(.Object)
}
)
setGeneric(name = "FindErrors",
def = function(theObject)
{
standardGeneric("FindErrors")
}
)
setMethod(f = "FindErrors",
signature = "NyhaClass",
definition = function(theObject)
{
#FindMisprints(file@table_in, theObject@column_index, theObject@key, theObject@value)
FindMisprints(misprint, file@table_in, theObject@column_index, theObject@key, theObject@value, file@row_header, file@row_table_legend)
}
)