simulate_arrivals: 'simulate_arrivals' Simulate arrival times based on...

View source: R/simulate_arrivals.R

simulate_arrivalsR Documentation

simulate_arrivals Simulate arrival times based on parametric bootstrap of model

Description

simulate_arrivals Simulate arrival times based on parametric bootstrap of model

Usage

simulate_arrivals(id, model, new_data_tbl = NULL, hour_censoring = 5)

Arguments

id

id for the simulation run

model

fit with function fit_model

new_data_tbl

new data to simulate times (if not for the original dataset for which the model was fit)

hour_censoring

add censoring structure if desired certain hours after polling station closing (use Inf for the exact simulated times )


cotecora-team-2/quickcountmx documentation built on July 17, 2025, 5:14 a.m.