fit_ispline: Function to fit monotonically increasing spline. Returns a...

Description Usage Arguments Value

Description

Function to fit monotonically increasing spline. Returns a function that can be used to predict the spline for each date.

Usage

1
fit_ispline(dates, obs, df = round(length(obs)/3))

Arguments

dates

dates of observations

obs

the observations

df

degrees of freedon.

Value

a function that takse in some number of dates and gives predictions on those


HopkinsIDD/covidImportation documentation built on Sept. 14, 2020, 2:43 p.m.