insongkim / PanelMatch

117 stars 35 forks source link

Error in data.frame #52

Closed EHM20 closed 4 years ago

EHM20 commented 4 years ago

Does anyone know what this error message means/have suggestions for fixing it? Thanks!

Error in [[<-.data.frame(*tmp*, i, value = c(NA, 1L, 1L, 1L, 1L, 1L, : replacement has 60 rows, data has 15

Screen Shot 2020-03-31 at 3 38 02 PM
adamrauh commented 4 years ago

hi @EHM20, thanks for trying out the package! I don't see anything immediately wrong with the way you've specified things here. It's hard to say much more without seeing the structure of your data. Could you try to generate a smaller reproducible example?

EHM20 commented 4 years ago

Hi @adamrauh , thanks for your response! I fixed the issue-- it had to do with the definition of variables.

adamrauh commented 4 years ago

glad you were able to solve the issue!