Closed christophsax closed 5 years ago
duplicate of #38
Probably not the same, but method = "ml"
is not working:
library(bdfm)
dfm(mdeaths, method = 'ml')
#> Error in DSmooth(B, Jb = Jb, q, H, R, Y = Ydm, freq = rep(1, k), LD = rep(0, : Not a matrix.
Created on 2019-06-15 by the reprex package (v0.2.1)
Fixing this and including the test would probably bring test coverage to a satisfying level.
OK... should be fine now. B was being entered as a sparse matrix in DSmooth(), needs to be a dense matrix.
Created on 2019-03-06 by the reprex package (v0.2.1)