naive

naive performs dependency-free empirical extrapolation of numeric and categorical time-feature sequences.

fit <- naive::naive_fit(data.frame(x = sin(seq(0, 10, length.out = 100))),
                        seq_len = 8, n_windows = 3, n_samp = 5)
print(fit)
plot(fit)

Version 2.0.0 uses only base R at runtime. Tests and the vignette use optional development packages listed in Suggests.