Extract the number of warmup iterations.

extract_n_warmup(stanfit)

Arguments

stanfit

An object returned by either fit or draw_samples.

Value

The number of warmup iterations.