Skip to content

Commit

Permalink
link to image file in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Oct 12, 2020
1 parent b84509e commit 26e9beb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,15 @@ null_distn <- gss %>%

Visualizing the observed statistic alongside the null distribution,

```{r viz, message = FALSE, warning = FALSE}
```{r viz, message = FALSE, warning = FALSE, eval = FALSE}
visualize(null_distn) +
shade_p_value(obs_stat = F_hat, direction = "greater")
```

```{r viz-graphic, message = FALSE, warning = FALSE, echo = FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/tidymodels/infer/master/README_files/figure-gfm/viz-1.png")
```

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

```{r, message = FALSE, warning = FALSE}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ visualize(null_distn) +
shade_p_value(obs_stat = F_hat, direction = "greater")
```

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

Calculating the p-value from the null distribution and observed
statistic,
Expand Down

0 comments on commit 26e9beb

Please sign in to comment.