Marginal distributions provided by a TRE should contain the following files:
Depending on the data from the TRE some of the files may not be present.
The marginal distributions can be imported using the import_marginal_distributions() function. By default the marginal distributions will be imported from the current working directory:
library(RESIDE)
marginals <- import_marginal_distributions()The folder of the marginals can be changes using the folder_path parameter of the import_marginal_distributions() function:
library(RESIDE)
marginals <- import_marginal_distributions(
folder_path = "/Users/ryan/marginals"
)import_marginal_distributions()
parameters:
binary_variables_filecategorical_variables_filecontinuous_variables_filecontinuous_quantiles_filesummary_fileHowever this is generally not advised.