allows to restrict original data to only a subset. This may be useful to test some anonymization
methods. This function will only be used in the graphical user interface sdcApp.
subsetMicrodata(obj, type, n)an object of class data.frame containing micro data
algorithm used to sample from original microdata. Currently supported choices are
n_percthe restricted microdata will be a n-percent sample of the original microdata.
first_nonly the first n observations will be used.
every_nthe restricted microdata set consists of every n-th record.
size_na total of n observations will be randomly drawn.
numeric vector of length 1 specifying the specific parameter with respect to argument type.
an object of class sdcMicroObj-class with modified slot @origData.