compare {synthpop} | R Documentation |
Comparison of synthesised and observed data
Description
A generic function for comparison of synthesised and observed data. The function invokes particular methods which depend on the class of the first argument.
Usage
compare(object, data, ...)
Arguments
object |
a synthetic data object of class |
data |
an original observed data set. |
... |
additional arguments specific to a method. |
Details
Compare methods facilitate quality assessment of synthetic data by comapring
them with the original observed data sets. The data themselves (for class
synds
) or models fitted to them (for class fit.synds
) are
compared.
Value
The value returned by compare
depends on the class of its argument.
See the documentation of the particular methods for details.
See Also
compare.synds
, compare.fit.synds
[Package synthpop version 1.8-0 Index]