Title: | Generate Synthetic SEND Data |
---|---|
Description: | An R package that generate synthetic SEND data based on real SEND data. |
Authors: | Md Yousuf Ali [cre, aut], Susan Butler [aut], Kevin Snyder [aut], FDA [cph] |
Maintainer: | Md Yousuf Ali <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.0.9000 |
Built: | 2025-03-02 06:20:39 UTC |
Source: | https://github.com/phuse-org/SENDsanitizer |
This is an shiny app that can be used to visually inspect real and synthetic data
compare_real_synthetic_shiny(root = NULL, root_synthetic = NULL)
compare_real_synthetic_shiny(root = NULL, root_synthetic = NULL)
root |
where real data |
root_synthetic |
where synthetic data located |
App
## Not run: compare_real_synthetic() ## End(Not run)
## Not run: compare_real_synthetic() ## End(Not run)
This function generate synthetic SEND data from real SEND data.
sanitize( path, where_to_save = NULL, recovery = FALSE, number = 1, write_xpt = TRUE, setcd = NULL, test_original = FALSE, app = FALSE )
sanitize( path, where_to_save = NULL, recovery = FALSE, number = 1, write_xpt = TRUE, setcd = NULL, test_original = FALSE, app = FALSE )
path |
Mandatory |
where_to_save |
mandatory |
recovery |
optional |
number |
mandatory, default 1 |
write_xpt |
mandatory, boolean |
setcd |
optional, vector |
test_original |
mandatory, boolean |
app |
Mandatory, boolean |
## Not run: # To generate one synthetic study dataset from one real study SENDsanitizer::sanitize(path='path/to/directory/of/xpt/files/of/study/', where_to_save='path/to/directory/where/generated/files/should/be/saved/') # To generate one synthetic study dataset from multiple real studies study_01 <- 'path/to/directory/of/xpt/files/of/study_01/' study_02 <- 'path/to/directory/of/xpt/files/of/study_02/' multiple_studies <- c(study_01,study_02) SENDsanitizer::sanitize(path= multiple_studies, where_to_save='path/to/directory/where/generated/files/should/be/saved/') ## End(Not run)
## Not run: # To generate one synthetic study dataset from one real study SENDsanitizer::sanitize(path='path/to/directory/of/xpt/files/of/study/', where_to_save='path/to/directory/where/generated/files/should/be/saved/') # To generate one synthetic study dataset from multiple real studies study_01 <- 'path/to/directory/of/xpt/files/of/study_01/' study_02 <- 'path/to/directory/of/xpt/files/of/study_02/' multiple_studies <- c(study_01,study_02) SENDsanitizer::sanitize(path= multiple_studies, where_to_save='path/to/directory/where/generated/files/should/be/saved/') ## End(Not run)