Learn R Programming

sdcTarget (version 0.9-11)

sdcTargetMatrixClass-class: S4 Target Matrix

Description

The taget matrix is a matrix with the same dimensions as the data from which it is derived, that indicates the number of combinations at a specific level of targetting for which the synthesis of a data element will make the record "sufficiently common".

Usage

## S3 method for class 'sdcTargetMatrixClass':
initialize(.Object, ...)

Arguments

.Object
An sdcTargetMatrixClass object.
...
The optional parameters specifying the basis of the target matrix (Tdef).

Methods (by generic)

  • initialize:

Details

Additional information is stored in the slots.

See Also

sdcTargetDefinitionClass,

Examples

Run this code
set.seed(256)
my.X <- data.frame(matrix(ifelse(runif(500)>.5, TRUE, FALSE), ncol = 5))
my.tdef <- new("sdcTargetDefinitionClass", X = my.X)
new("sdcTargetMatrixClass", Tdef = my.tdef)

Run the code above in your browser using DataLab