simtrial 0.1.0

Clinical trial simulation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Reference data fixtures

The `.txt` files in this directory contain reference outputs from the original
simtrial R implementation. They are used to validate the Rust port of the
piecewise exponential generator.

## Regenerating fixtures

The fixture generator script reproduces the draws using the R implementation
for specific seeds and parameter sets, and writes both the uniform random
numbers and the resulting event times to plain-text files without headers.

```sh
Rscript tests/fixtures/generate_piecewise_exponential.R
```

The Rust test suite consumes these numbers to cross-check the
Rust implementation against the reference algorithm.