View source: R/parmsummary_extend.R
parmsummary_extend | R Documentation |
Includes confidence interval in parameter summary table.
parmsummary_extend(dfr, level=.95, est_label="est", se_label="se",
df_label="df")
dfr |
Data frame containing parameter summary |
level |
Significance level |
est_label |
Label for parameter estimate |
se_label |
Label for standard error |
df_label |
Label for degrees of freedom |
Extended parameter summary table
stats::confint
#############################################################################
## EXAMPLE 1: Toy example parameter summary table
#############################################################################
dfr <- data.frame( "parm"=c("b0", "b1" ), "est"=c(0.1, 1.3 ),
"se"=c(.21, .32) )
print( sirt::parmsummary_extend(dfr), digits=4 )
## parm est se t p lower95 upper95
## 1 b0 0.1 0.21 0.4762 6.339e-01 -0.3116 0.5116
## 2 b1 1.3 0.32 4.0625 4.855e-05 0.6728 1.9272
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.