We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Sampling or optimization can be terminated early using the stop() method,
stop()
fit = stan('file','rats.stan','data',rats_dat,'iter',50000); fit.stop();
If sampling, any samples generated are returned.