Export Marginal Distributions
export_marginal_distributions.Rd
Export the marginal distributions to CSV files
Arguments
- marginals
an Object of type RESIDE from
import_cor_matrix
- folder_path
path to folder where to save files.
- create_folder
if the folder does not exist should it be created, Default: FALSE
- force
if the folder already contains marginal distribution files should they be removed, Default: FALSE
Details
Exports each of the marginal distributions to CSV files within a given folder, along with the continuous quantiles.
Examples
# \donttest{
marginal_distributions <- get_marginal_distributions(IST)
export_marginal_distributions(
marginal_distributions,
folder_path = tempdir()
)
#> Exporting categorical to: /tmp/RtmpejDi67/categorical_variables.csv
#> Exporting binary to: /tmp/RtmpejDi67/binary_variables.csv
#> Exporting continuous to: /tmp/RtmpejDi67/continuous_variables.csv
#> Exporting quantiles to: /tmp/RtmpejDi67/continuous_quantiles.csv
#> Exporting summary to: /tmp/RtmpejDi67/summary.csv
# }