Skip to content

Commit

Permalink
rvest 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
perlatex committed Jan 10, 2021
1 parent e73bc8e commit 081ae07
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions bayesian_models.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ggsave("bayes-three-panels.png", width = 9, height = 3)



```{r bayes-02, out.width = '85%', echo = FALSE}
```{r bayes-02, out.width = '100%', echo = FALSE}
knitr::include_graphics("./images/bayes-three-panels.png")
```

Expand Down Expand Up @@ -288,7 +288,7 @@ rstan::extract(fit_normal, par = "beta")$beta



```{r bayes-06}
```{r bayes-06, eval=FALSE}
fit_normal %>%
tidybayes::gather_draws(alpha, beta) %>%
ggplot(aes(x = .value, y = as_factor(.variable)) ) +
Expand All @@ -298,7 +298,7 @@ fit_normal %>%



事实上,`bayesplot`宏包提供了大量模型评估函数,大爱
事实上,`bayesplot`宏包提供了大量模型评估函数,大爱!!

```{r bayes-07, message=FALSE, results=FALSE}
true_alpha_beta <- c(alpha_real, beta_real, sigma_real)
Expand Down
3 changes: 3 additions & 0 deletions ggplot2_customize.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,10 @@ ggplot(data = mpg) +
family = "fzshuliu"
)
# ggsave("showtext-example-9.pdf", width = 7, height = 4, dpi = 200)
showtext_auto(FALSE)
```


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ account: wangminjie
server: bookdown.org
hostUrl: https://bookdown.org/__api__
appId: 3039
bundleId: 32804
bundleId: 32826
url: https://bookdown.org/wangminjie/R4DS/
when: 1610171499.94465
when: 1610254499.38632
1 change: 1 addition & 0 deletions rvest.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 网络爬虫 {#rvest}

大神说[rvest](https://rvest.tidyverse.org/) 马上推出1.0版本了。

```{r rvest-1, message = FALSE, warning = FALSE}
library(tidyverse)
Expand Down

0 comments on commit 081ae07

Please sign in to comment.