powered by
returns a data.frame or data.table from an sdcProblem-class-object which contains the current state of the problem instance.
data.frame
data.table
sdcProblem-class
sdcProb2df(obj, addDups = TRUE, addNumVars = FALSE, dimCodes = "both")
an object of class sdcProblem-class from sdcTable
sdcTable
(logical), if TRUE, duplicated cells are included in the output
TRUE
(logical), if TRUE, numerical variables (if defined in makeProblem) will be included in the output.
makeProblem
(character) allows to specify in which coding the dimensional variables should be returned. Possible choices are:
"both": both original and internally used, standardized codes are included in the output
"original": only original codes of dimensional variables are included in the output
"default": only internally used, standardized codes are included in the output
a data.table containing information about all cells of the given sdc problem instance is returned.
# NOT RUN { ## have a look at ?makeProblem # }
Run the code above in your browser using DataLab