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

Bug in simulate patient outcome #182

Closed kwathen closed 3 months ago

kwathen commented 3 months ago

In the file https://github.com/Cytel-Inc/CyneRgy/blob/Dev/inst/Templates/SimulatePatientOutcome.Binary.R

On line 20 vPatientOutcome <- rep( 0, NubSub )

NubSub should be NumSub so the line should be vPatientOutcome <- rep( 0, NumSub )