replicated.uniques | R Documentation |
Determines which unique units in the synthesised data set(s) replicates unique units in the original observed data set.
replicated.uniques(object, data, exclude = NULL)
object |
an object of class |
data |
the original observed data set. |
exclude |
a single string or a vector of strings with name(s) of variable(s) to be excluded from the identification of uniques. |
A list with the following components:
replications |
a vector (for |
no.replications |
a single number or a vector of |
no.uniques |
a number of unique individuals in the original data set. |
per.replications |
a single number or a vector of |
sdc
ods <- SD2011[1:1000,c("sex","age","edu","marital","smoke")] s1 <- syn(ods, m = 2) replicated.uniques(s1,ods)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.