Description Usage Arguments Details Author(s) See Also Examples
model.output
display corresponding estimates of different models along
with 95
1 | model.output(model, raw = FALSE)
|
model |
object glm or lm type |
raw |
logical value |
If raw is set to TRUE, a table containing raw estimate, standard errors, z value and p-value is generated.
Myo Minn Oo (Email: dr.myominnoo@gmail.com | Website: https://myominnoo.github.io/)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
## example from IRDE website:
## https://stats.idre.ucla.edu/r/dae/logit-regression/
mydata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv")
summarize(mydata)
tab(admit, mydata)
tab(rank, mydata)
mydata$rank <- label(mydata$rank)
mylogit <- glm(admit ~ gre + gpa + rank, data = mydata, family = "binomial")
summary(mylogit)
model.output(mylogit)
model.output(mylogit, raw = TRUE)
model.fit(mylogit)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.