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 crashes for regression with no intercept #21

Open goldphoenix1 opened 5 years ago

goldphoenix1 commented 5 years ago

If you run lm with no intercept package crashes.

Error in intercept_row$predictor[1] <- reg_table_first$predictor[1] : replacement has length zero

akarlinsky commented 1 year ago

Any update on this?

dstanley4 commented 1 year ago

I'm releasing a major update soon - it won't be in that update. My sense is that, for the audience I'm targeting, regression without intercepts is not a common scenario. That said, apaTables is long over due for a release where I improve the code quality by refactoring things. I'll try to role it into that update most likely. Cheers, David On Jul 1, 2023 at 10:07 AM -0400, Ariel Karlinsky @.***>, wrote:

CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and know the content is safe. If in doubt, forward suspicious emails to @.***

Any update on this?

— Reply to this email directly, view it on GitHubhttps://github.com/dstanley4/apaTables/issues/21#issuecomment-1615933493, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AADGFZQUPCS6652MI3NTHYDXOAVJ3ANCNFSM4IHKV7LA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

akarlinsky commented 1 year ago

thanks @dstanley4. Just to mention that this comes up when estimating a panel fixed-effects model in the plm package, which doesn't include an intercept.