Cytel-Inc / CyneRgy

CyneRgy is a package designed to illustrate the synergy of using R with Cytel products for clinical trial simulation.
https://cytel-inc.github.io/CyneRgy/
2 stars 0 forks source link

Create templates for new integration points #179

Closed kwathen closed 6 days ago

kwathen commented 1 week ago

Create templates in the inst/Templates folder for the new repeated measure patient simulation and analysis as well as randomization and drop-out.

Please use the existing templates in https://github.com/Cytel-Inc/CyneRgy/tree/Dev/inst/Templates

As a guide for creating the new templates. Please make sure to document all parameters that are sent from East to help the user understand what they need to do.

kwathen commented 1 week ago

Once you have added the templates you will need to rebuild and install CyneRgy. This way you can use CyneRgy::CreateCyneRgyFunction to test the use of the templates.

If you call CreateCyneRgyFunction with no arguments you get a list of the valid FunctionType values. Once the new templates are added, package rebuilt and installed the new templates should be listed in the call. See below

CyneRgy::CreateCyneRgyFunction() [1] "Please run CreateCyneRgyFunction() with a valid strFunctionType argument name.Valid values for strFunctionType are: 'Analyze.Binary', 'Analyze.Continuous', 'Analyze.TimeToEvent', 'GenerateArrivalTimes', 'Initialize', 'SimulatePatientOutcome.Binary', 'SimulatePatientOutcome.Continuous', 'SimulatePatientOutcome.TimeToEvent', 'TreatmentSelection'"

With