Creates a study configuration list with study parameters, temporal configuration, and dataset specifications for clinical trial data generation.
Usage
create_study_config(
study_id = "STUDY001",
participant_count = 100,
site_count = 10,
analytics_package = NULL,
analytics_workflows = NULL,
reporting_package = NULL,
reporting_workflows = NULL,
outlier_intensity = 1,
risk_profile = NULL
)Arguments
- study_id
Study identifier
- participant_count
Number of participants
- site_count
Number of sites
- analytics_package
Analytics package to use
- analytics_workflows
Specific workflows to run
- reporting_package
Reporting package to use (default:
"gsm.reporting")- reporting_workflows
Specific reporting workflows to run (default: all)
- outlier_intensity
Global multiplier for outlier-like values in domain generators. Use
1for current baseline, values>1to increase outlier prevalence.- risk_profile
Optional named list controlling site-targeted consecutive-run injection. Only
Raw_VScurrently supports it.NULLuses the generator defaults. Recognized fields aredPctRedanddPctAmber(share of sites in each band),nWindowLength(rolling window length, whole number>= 2),dRateNormal/dRateAmber/dRateRed(target repeat rate per band), andvVitals(character vector of vitals to target, orNULLfor all eight). Fields can be given at three levels, with more specific levels overriding less specific ones:Top level: applies to every domain that supports it.
Domain level:
list(Raw_VS = list(dPctRed = 0.3)).Vital level:
list(Raw_VS = list(sysbp = list(dRateRed = 0.6))). Each vital's bands are allocated independently, so vitals can have different profiles. The targeted vitals are the domain'svVitalsif given (named vitals must then be among them), else the vitals the domain names, else the top-levelvVitals, else all eight.vVitalscannot be set inside a vital.