Identify or Remove Small or Large Cells From a Hash List

Description

Returns a hash list identifying the appropriate cells, or a subset of the data provided with the specified cells removed.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
identifySmallCells(Y, cutoff = 1)

identifyBigCells(Y, cutoff = 1)

identifySmallCellRecords(Y, cutoff = 1)

identifyBigCellRecords(Y, cutoff = 1)

removeSmallCellRecords(X, Y, cutoff = 1)

removeBigCellRecords(X, Y, cutoff = 1)

Arguments

Y

A hash list as returned by sdcHashClass.

cutoff

The lower or upper cutoff of cell size.

X

A data frame corresponding to Y.

See Also

sdcHashClass,

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
identifySmallCells(my.hc)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
identifyBigCells(my.hc)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
identifySmallCellRecords(my.hc)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
identifyBigCellRecords(my.hc)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
removeSmallCellRecords(my.X, my.hc)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.hc <- new("sdcHashClass", X = my.X)
removeBigCellRecords(my.X, my.hc)