ssdavenport / microsynth

Synthetic controls for micro-level data
16 stars 9 forks source link

Fixed error when using example dataset seattledmi #18

Closed jd-reynolds closed 3 years ago

jd-reynolds commented 4 years ago

If data has class tbl, microsynth() returns:

Error: Must use a vector in `[`, not an object of class matrix.

Changing the included example dataset seattledmi to class data.frame resolves this issue.

ssdavenport commented 3 years ago

If data has class tbl, microsynth() returns:

Error: Must use a vector in [, not an object of class matrix.

Changing the included example dataset seattledmi to class data.frame resolves this issue.

Thank you. I am manually incorporating this into the most recent version. Could not accept your pull request due to issues merging binary files. I appreciate your maintenance of the package