Skip to content

Commit d7345b4

Browse files
committed
renv update
1 parent 892b08e commit d7345b4

7 files changed

Lines changed: 3937 additions & 470 deletions

File tree

05-regression.qmd

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,15 @@ colnames(score_model_coeffs) <- c("Estimate", "Std. Error", "t value", "p value"
542542
score_model_coeffs %>%
543543
as.data.frame() %>%
544544
rownames_to_column("term") %>%
545+
mutate(term = ifelse(term == "(Intercept)",
546+
"Intercept", term)) %>%
545547
knitr::kable(
546548
digits = 3,
547549
#caption = "Linear regression table",
548550
booktabs = TRUE,
549-
format = "markdown"
551+
format = ifelse(knitr:::is_latex_output(),
552+
"latex", "markdown")
553+
# format = "markdown"
550554
) %>%
551555
kable_styling(
552556
font_size = ifelse(knitr:::is_latex_output(), 10, 16),
@@ -1064,11 +1068,15 @@ colnames(coefs) <- c("Estimate", "Std. Error", "t value", "p value")
10641068
coefs %>%
10651069
as.data.frame() %>%
10661070
rownames_to_column("term") %>%
1071+
mutate(term = ifelse(term == "(Intercept)",
1072+
"Intercept", term)) %>%
10671073
knitr::kable(
10681074
digits = 3,
10691075
# caption = "Linear regression table",
10701076
booktabs = TRUE,
1071-
format = "markdown"
1077+
format = ifelse(knitr:::is_latex_output(),
1078+
"latex", "markdown")
1079+
# format = "markdown"
10721080
) %>%
10731081
kable_styling(
10741082
font_size = ifelse(knitr:::is_latex_output(), 10, 16),

_quarto.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,8 @@ format:
7777
html:
7878
theme: cosmo
7979
include-in-header: in-line_math_mode.html
80-
# pdf:
81-
# documentclass: scrreprt
82-
80+
pdf:
81+
documentclass: scrreprt
8382
# include-in-header:
8483
# - text: |
8584
# \usepackage{siunitx}

index.aux

Lines changed: 165 additions & 17 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)