Skip to content

Commit 26e9beb

Browse files
committed
link to image file in readme
1 parent b84509e commit 26e9beb

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.Rmd

+5-1
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,15 @@ null_distn <- gss %>%
9595

9696
Visualizing the observed statistic alongside the null distribution,
9797

98-
```{r viz, message = FALSE, warning = FALSE}
98+
```{r viz, message = FALSE, warning = FALSE, eval = FALSE}
9999
visualize(null_distn) +
100100
shade_p_value(obs_stat = F_hat, direction = "greater")
101101
```
102102

103+
```{r viz-graphic, message = FALSE, warning = FALSE, echo = FALSE}
104+
knitr::include_graphics("https://raw.githubusercontent.com/tidymodels/infer/master/README_files/figure-gfm/viz-1.png")
105+
```
106+
103107
Calculating the p-value from the null distribution and observed statistic,
104108

105109
```{r, message = FALSE, warning = FALSE}

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ visualize(null_distn) +
138138
shade_p_value(obs_stat = F_hat, direction = "greater")
139139
```
140140

141-
![](README_files/figure-gfm/viz-1.png)<!-- -->
141+
![](https://raw.githubusercontent.com/tidymodels/infer/master/README_files/figure-gfm/viz-1.png)<!-- -->
142142

143143
Calculating the p-value from the null distribution and observed
144144
statistic,

0 commit comments

Comments
 (0)