File tree Expand file tree Collapse file tree 1 file changed +38
-5
lines changed
Expand file tree Collapse file tree 1 file changed +38
-5
lines changed Original file line number Diff line number Diff line change 11---
22title : " Multiple Imputation"
3- output :
4- html_document :
5- code_folding : show
3+ format :
4+ html :
5+ df-print : default
66---
77
88# Preamble
@@ -113,8 +113,19 @@ dataToImpute <- Oxboys_addNA
113113# Describe Missing Data
114114
115115``` {r}
116- describe(dataToImpute)
117- md.pattern(dataToImpute, rotate.names = TRUE)
116+ #| eval: false
117+
118+ psych::describe(dataToImpute)
119+ ```
120+
121+ ``` {r}
122+ #| echo: false
123+
124+ rmarkdown::paged_table(psych::describe(dataToImpute))
125+ ```
126+
127+ ``` {r}
128+ mice::md.pattern(dataToImpute, rotate.names = TRUE)
118129```
119130
120131# Pre-Imputation Setup
@@ -489,9 +500,20 @@ In any case, the code runs fine locally.
489500fit_lm_pooled <- mice::pool(fit_lm)
490501
491502fit_lm_pooled
503+ ```
504+
505+ ``` {r}
506+ #| eval: false
507+
492508summary(fit_lm_pooled)
493509```
494510
511+ ``` {r}
512+ #| echo: false
513+
514+ rmarkdown::paged_table(summary(fit_lm_pooled))
515+ ```
516+
495517## Mixed Model {#sec-mixed-model}
496518
497519``` {r}
@@ -510,9 +532,20 @@ In any case, the code runs fine locally.
510532fit_lmer_pooled <- mice::pool(fit_lmer)
511533
512534fit_lmer_pooled
535+ ```
536+
537+ ``` {r}
538+ #| eval: false
539+
513540summary(fit_lmer_pooled)
514541```
515542
543+ ``` {r}
544+ #| echo: false
545+
546+ rmarkdown::paged_table(summary(fit_lmer_pooled))
547+ ```
548+
516549# Model-Implied Predictions
517550
518551``` {r}
You can’t perform that action at this time.
0 commit comments