I am performing some simulations where a statistical model is used first to simulate a new response then to fit the response then to extract quantities of interest. The current code is

```
function parametricbootstrap(N::Integer, m::LinearMixedModel{T},
rng::AbstractRNG=Random.GLOBAL_RNG, props=(:objective, :σ, :β, :θ),
β::Vector{T} = m.β, σ::T = m.σ, θ::Vector{T} = m.θ) where {T}
y₀ = copy(response(m)) # to restore original state of m
n, p, q, nre = size(m)
length(β) == p && length(θ) == (k = length(getθ(m))) || throw(DimensionMismatch(""))
baseval = getproperty.(Ref(m), props)
ptype = typeof(baseval)
val = [NamedTuple{props, ptype}(
getproperty.(Ref(refit!(simulate!(rng, m, β=β, σ=σ, θ=θ))), props)) for _ in Base.OneTo(N)]
refit!(m, y₀) # restore original state
val
end
```

is `for _ in Base.OneTo(N)`

a good way of phrasing “do this N times” or are there better alternatives?