PTwrap {easySdcTable}R Documentation

Wrapper to ProtectTable() with additional methods (partly experimental)

Description

Additional values of "method" is possible. Each new method (wrapper method) will make a call to ProtectTable() using a specific parameter setting.

Usage

PTwrap(
  ...,
  maxN = 3,
  method = "SimpleSingle",
  exeArgus = "C:/Tau/TauArgus.exe",
  pathArgus = getwd(),
  solverArgus = "FREE",
  methodArgus = "OPT",
  rgArgus = 0
)

Arguments

...

Parameters to ProtectTable

maxN

Parameter to ProtectTable

method

Parameter to ProtectTable or a wrapper method (see details)

exeArgus

Parameter to runArgusBatchFile

pathArgus

Parameter to createArgusInput

solverArgus

Parameter "solver" to createArgusInput

methodArgus

Parameter "method" to createArgusInput

rgArgus

Parameter "rg" in "primSuppRules" in createArgusInput

Details

The wrapper methods are:

Simple: "SIMPLEHEURISTIC" with detectSingletons=FALSE

SimpleSingle: "SIMPLEHEURISTIC" with detectSingletons=TRUE when protectZeros=FALSE and "SIMPLEHEURISTIC" with threshold=1 (can be overridden by input) when protectZeros=TRUE

SimpleSingleOld: "SIMPLEHEURISTIC" with detectSingletons=TRUE

TauArgus: Tau-argus will be run according to the settings of the other input parameters.

Using rgArgus=0 is equivalent to calling ProtectTable() with
method = list(exe=exeArgus, typ="tabular", path=pathArgus,
solver=solverArgus, method=methodArgus)))

Other values of rgArgus is equivalent to calling ProtectTable() with
method = list(exe=exeArgus, typ="microdata", path=pathArgus,
solver=solverArgus, method=methodArgus,
primSuppRules=list(list(type="freq", n=maxN+1, rg=rgArgus )))))

TauArgusOPT: As "TauArgus" with methodArgus="OPT"

TauArgusMOD: As "TauArgus" with methodArgus="MOD"

TauArgusGH: As "TauArgus" with methodArgus="GH"

Value

See ProtectTable


[Package easySdcTable version 1.0.3 Index]