Closed HJ08003 closed 6 years ago
@christianfong and @ratkovic Do you know what's going on here? The first argument of matrix()
is missing
In the original CBPSMain.R, it is lines 30-31 in CBPSMain.R
Just cleaning up. matrix() defaults were changed in a recent update to R. Problem has been resolved.
There is a warning sign on lines 30-31 in CBPSMain.R for "missing argument to function call”
=== lines 30-31 === X <- if (!is.empty.model(mt)) model.matrix(mt, mf)#[,-2] else matrix(, NROW(Y), 0L)