forked from SophieKoshkareva/RParserForTable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Weight.R
29 lines (26 loc) · 887 Bytes
/
Weight.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
Weight <- setClass("Weight",
contains = "Column"
)
# setMethod(f = "initialize",
# signature = "Weight",
# definition = function(.Object)
# {
# .Object@column_index <- 4
# return(.Object)
# }
# )
setGeneric(name = "FindErrors",
def = function(theObject)
{
standardGeneric("FindErrors")
}
)
setMethod(f = "FindErrors",
signature = "Weight",
definition = function(theObject)
{
#FindMisprints(file@table_in, theObject@column_index, theObject@key, theObject@value)
FindMisprintsForNumeric(misprint, file@table_in, theObject@column_index, file@row_header, file@row_table_legend)
FindOutliers(outlier, file@table_in, theObject@column_index, file@row_header, file@row_table_legend)
}
)