Closed kwathen closed 6 days 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
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.