-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow omitting model names. #161
Comments
Hi there, You can already do that with custom model names just passing hope this helps,
|
Thanks. What I had in mind is that those lines would be omitted, too.
-- Lucas de Abreu Maia
Pre-doctoral fellow | Massachusetts Institute of Technology
Ph.D. candidate | Department of Political Science | University of
California, San Diego
lucasamaia.com
…On Tue, Sep 1, 2020 at 1:05 PM Claudia Zucca ***@***.***> wrote:
Hi there,
You can already do that with custom model names just passing ' ' on.
However, you still have the two rows in the printout with nothing inside
this time.
hope this helps,
C.
ctl <- c(4.17,5.58,5.18,6.11,4.50,4.61,5.17,4.53,5.33,5.14)
trt <- c(4.81,4.17,4.41,3.59,5.87,3.83,6.03,4.89,4.32,4.69)
group <- gl(2, 10, 20, labels = c("Ctl","Trt"))
weight <- c(ctl, trt)
lm.D9 <- lm(weight ~ group)
library(texreg)
screenreg(lm.D9, custom.model.names = ' ')
======================
----------------------
(Intercept) 5.03 ***
(0.22)
groupTrt -0.37
(0.31)
----------------------
R^2 0.07
Adj. R^2 0.02
Num. obs. 20
======================
*** p < 0.001; ** p < 0.01; * p < 0.05
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#161 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFP6AEQYIHF4UHKXVZOB3SDSDUSUJANCNFSM4QR6E4CA>
.
|
Thanks for the suggestion. I think this is a good idea. I'll put it on my to-do list. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Firstly, thanks for such a thorough package.
I have a suggestion: could you implement the possibility of omitting model names? If you're printing a single model, it doesn't make sense to have "model 1" printed above it. I assume this could be easily implemented by allowing NA, NULL, or an empty character string as an option in custom.model.names.
Thanks!
The text was updated successfully, but these errors were encountered: