modeltime
modeltime copied to clipboard
modeltime.resample::time_series_split
Error in seq.default(dots[[1L]][[1L]], dots[[2L]][[1L]]) : 'from' must be a finite number
Could you provide a reproducible example?
https://www.tidyverse.org/help/
It's hard to help with just the information you provide...Thanks.
I'm getting the same error.
> county_splits <- county_model%>% time_series_split( assess = "1 year", cumulative = TRUE )
Using date_var: election_date Overlapping Timestamps Detected. Processing overlapping time series together using sliding windows. Error in seq.default(dots[[1L]][[1L]], dots[[2L]][[1L]]) : 'from' must be a finite number
`
The data is a dataframe of mostly numeric election data (counts of registered voters and turnout)