particle_filter_data: Prepare particle filter data

View source: R/particle.R

particle_filter_dataR Documentation

Prepare particle filter data

Description

Prepare data for use with the particle filter. This function exists to make explicit how time changes through the model relative to the data and to odin's internal clock.

Usage

particle_filter_data(data, start_date, steps_per_day)

Arguments

data

A data.frame of observed data. There must be a column date, containing dates (or ISO-formatted strings for conversion with as.Date.

start_date

The date to start the simulation from. Must be earlier than the first date in data.

steps_per_day

The number of steps per day


mrc-ide/squire documentation built on Sept. 10, 2022, 1:11 a.m.