Learn R Programming

sdcTable (version 0.6.4)

setBounds: setBounds

Description

sets Bounds needed for the protection of tables with HITAS algorithm.

Usage

setBounds(outObj, type, v)

Arguments

outObj
an object derived from calcFullTable().
type
specifies the type of bounds to be set. Possible values include: 'lb' (lower bound known by attacker) 'ub' (upper bound known by attacker) 'LPL' (lower protection level) 'UPL' (upper protection level) 'SPL' (sliding protection level) These bounds need to
v
a vector with values for the parameter specified by variable 'type'.

Examples

Run this code
datObj <- get(load(paste(searchpaths()[grep("sdcTable", searchpaths())], "/data/testObj.RData", sep="")))
	# attacker knows that cells are non-negative
	datObj <- setBounds(datObj, type="lb", rep(0, length(datObj$fullTabObj$strID)))

Run the code above in your browser using DataLab