dstanley4 / apaTables

Development version of apaTables R package. Current stable version is on the CRAN.
http://dstanley4.github.io/apaTables/
Other
55 stars 13 forks source link

apa.reg.table: Column `LLb` must be length 9 (the number of rows) or one, not 10 #20

Open vasevgeo opened 5 years ago

vasevgeo commented 5 years ago

I am trying to run the apa.reg.table on the following code:

multi.fitfoc = lm(TQ~INDD+INTD+REL_CONT+ADMDIS_CONT+CFOPS_CONT+LNTOTASS_CONT+PROMAR_CONT+LNLIQRAT_CONT+LNINFL_CONT, data=datasetfoc) multi.fitinddiv = lm(TQ~INDD+INTD+REL_CONT+ADMDIS_CONT+CFOPS_CONT+LNTOTASS_CONT+PROMAR_CONT+LNLIQRAT_CONT+LNINFL_CONT, data=datasetinddiv) multi.fitintdiv = lm(TQ~INDD+INTD+REL_CONT+ADMDIS_CONT+CFOPS_CONT+LNTOTASS_CONT+PROMAR_CONT+LNLIQRAT_CONT+LNINFL_CONT, data=datasetintdiv) multi.fitlat = lm(TQ~INDD+INTD+REL_CONT+ADMDIS_CONT+CFOPS_CONT+LNTOTASS_CONT+PROMAR_CONT+LNLIQRAT_CONT+LNINFL_CONT, data=datasetlat)

apa.reg.table(multi.fitfoc, multi.fitinddiv, multi.fitintdiv, multi.fitlat, filename = "APA.xls", table.number = 3)

I get this error message: Column LLb must be length 9 (the number of rows) or one, not 10

What might be the reason and how can the issue be solved? (I have tried both with the latest version of apaTables and the developer one. Nothing works)

cseresznyeszalan commented 4 years ago

Same error.