Extract the number of total iterations.

extract_n_iterations(stanfit)

Arguments

stanfit

An object returned by either fit or draw_samples.

Value

The number of total iterations.