synthesise_data {RESIDE} | R Documentation |
Synthesise data from marginal distributions
Description
Allows the synthesis of data from marginal distributions obtained from a Trusted Research Environment (TRE)
Usage
synthesise_data(marginals, correlation_matrix = NULL, ...)
synthesize_data(marginals, correlation_matrix = NULL, ...)
Arguments
marginals |
an object of class RESIDE |
correlation_matrix |
Correlation Matrix
see |
... |
Additional parameters currently none are used. |
Details
This function will synthesise a dataset from marginals imported
using import_marginal_distributions
.
By default the dataset will not contain correlations,
however user specified correlations can be added using
the correlation_matrix
parameter,
see export_empty_cor_matrix
and
import_cor_matrix
for more details.
Value
a data frame of simulated data
See Also
export_empty_cor_matrix
import_cor_matrix
Examples
## Not run:
marginals <- import_marginal_distributions()
df <- synthesise_data(marginals)
## End(Not run)
[Package RESIDE version 0.3.2 Index]