Skip to content

Commit 924cd4e

Browse files
committed
Don't overwrite mlr_pvalue_viz
1 parent e8e1fe1 commit 924cd4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

10-inference-for-regression.Rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -2497,15 +2497,15 @@ visualize(null_distribution_mlr) +
24972497
```{r echo=FALSE}
24982498
mlr_pvalue_viz <- visualize(null_distribution_mlr) +
24992499
shade_p_value(obs_stat = observed_fit, direction = "two-sided")
2500-
#if (!file.exists("images/mlr_pvalue_viz.png")) {
2500+
if (!file.exists("images/mlr_pvalue_viz.png")) {
25012501
ggsave(
25022502
filename = "images/mlr_pvalue_viz.png",
25032503
plot = mlr_pvalue_viz,
25042504
width = 6,
25052505
height = 11,
25062506
dpi = 320
25072507
)
2508-
#}
2508+
}
25092509
```
25102510

25112511
```{r shaded-p-values-partial, echo=FALSE, out.width="55%", fig.height=12, fig.cap="Shaded p-values for the partial slopes in this multiple regression."}

0 commit comments

Comments
 (0)