simulate_mrgsolve
Run pharmacokinetic simulations using mrgsolve R package without requiring NONMEM. Provide model code or file to generate simulated data for pharmacometric analysis.
Instructions
Run a simulation using mrgsolve (R). No NONMEM needed. Provide model code or model file path.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_code | No | Inline mrgsolve model code | |
| model_file | No | Path to mrgsolve .mod file | |
| data_path | No | Path to dataset for simulation (optional) | |
| n_subjects | No | Number of subjects (default: 100) | |
| end_time | No | End time for simulation (default: 24) | |
| delta | No | Time step (default: 0.5) | |
| dose_amt | No | Dose amount (for simple dosing regimen) | |
| dose_cmt | No | Dosing compartment (default: 1) | |
| seed | No | Random seed (default: 12345) | |
| output_path | No | Path to save output CSV |