Extract the time elapsed when fitting the model.
extract_time(fit)
| fit | An object returned by either |
|---|
For objects fit via draw_samples, a named numeric matrix with two columns (warm-up and sample time) and one row per chain. For objects fit via optimizing, the system time elapsed.