Hello,
I am trying to run my own synthetic control with my own data but I keep getting Error in if (dum <= dum1 + 1) { : missing value where TRUE/FALSE needed and it's not clear to me why this is happening or what this error means. My data is functionally the same a the one used on the introduction vignette except, I am not using any covariates. Hence, I've set match.covar = FALSE does this mean covariates are necessary? or is something else the problem?
I've also found this post on stack overflow. However the solution provided there is to use as.data.frame to convert data into a data.frame which my data all ready is, and so the issue persists.
Hello, I am trying to run my own synthetic control with my own data but I keep getting
Error in if (dum <= dum1 + 1) { : missing value where TRUE/FALSE needed
and it's not clear to me why this is happening or what this error means. My data is functionally the same a the one used on the introduction vignette except, I am not using any covariates. Hence, I've setmatch.covar = FALSE
does this mean covariates are necessary? or is something else the problem?I've also found this post on stack overflow. However the solution provided there is to use
as.data.frame
to convert data into adata.frame
which my data all ready is, and so the issue persists.