#> mean sd 0.025quant 0.5quant 0.975quant mode
-#> Theta1 for s 2.000684 0.0623506 1.876512 2.001169 2.122006 2.003209
-#> Theta2 for s -4.851258 0.1297349 -5.105062 -4.851807 -4.594250 -4.854094
+
#> mean sd 0.025quant 0.5quant 0.975quant mode
+#> Theta1 for s 2.000684 0.06235036 1.876512 2.001169 2.122006 2.003209
+#> Theta2 for s -4.851258 0.12973214 -5.105057 -4.851807 -4.594256 -4.854095
提取预测数据,并整理数据。
diff --git a/generalized-additive-models_files/figure-html/fig-mcycle-smooths-2.png b/generalized-additive-models_files/figure-html/fig-mcycle-smooths-2.png
index 7d1ebdc6..7a988f05 100644
Binary files a/generalized-additive-models_files/figure-html/fig-mcycle-smooths-2.png and b/generalized-additive-models_files/figure-html/fig-mcycle-smooths-2.png differ
diff --git a/generalized-additive-models_files/figure-html/fig-rongelap-inla-1.png b/generalized-additive-models_files/figure-html/fig-rongelap-inla-1.png
index 84bd6491..30aae5c4 100644
Binary files a/generalized-additive-models_files/figure-html/fig-rongelap-inla-1.png and b/generalized-additive-models_files/figure-html/fig-rongelap-inla-1.png differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-as-1.pdf b/generalized-additive-models_files/figure-pdf/fig-city-as-1.pdf
index 8df313cb..5927b8cc 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-as-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-as-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-as-2.pdf b/generalized-additive-models_files/figure-pdf/fig-city-as-2.pdf
index c8eb03f8..95734cf5 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-as-2.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-as-2.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-border-1.pdf b/generalized-additive-models_files/figure-pdf/fig-city-border-1.pdf
index 10c6b6f8..fe1582c1 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-border-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-border-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-data-1.pdf b/generalized-additive-models_files/figure-pdf/fig-city-data-1.pdf
index 18d2fdcd..f0690b38 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-data-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-data-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-hg-1.pdf b/generalized-additive-models_files/figure-pdf/fig-city-hg-1.pdf
index 01c64555..83bc3edc 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-hg-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-hg-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-city-topo-1.pdf b/generalized-additive-models_files/figure-pdf/fig-city-topo-1.pdf
index 82099162..05a0e9b1 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-city-topo-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-city-topo-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-mcycle-1.pdf b/generalized-additive-models_files/figure-pdf/fig-mcycle-1.pdf
index 07c3e706..49deff8a 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-mcycle-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-mcycle-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-mcycle-ggplot2-1.pdf b/generalized-additive-models_files/figure-pdf/fig-mcycle-ggplot2-1.pdf
index c9dbf8e7..e4c444c8 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-mcycle-ggplot2-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-mcycle-ggplot2-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-1.pdf b/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-1.pdf
index 066a7fd4..5f717ef2 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-2.pdf b/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-2.pdf
index 9413d6d1..8d43a3d7 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-2.pdf and b/generalized-additive-models_files/figure-pdf/fig-mcycle-smooths-2.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-mcycle-viz-1.pdf b/generalized-additive-models_files/figure-pdf/fig-mcycle-viz-1.pdf
index 3403c3ea..81a7ccf2 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-mcycle-viz-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-mcycle-viz-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-rongelap-inla-1.pdf b/generalized-additive-models_files/figure-pdf/fig-rongelap-inla-1.pdf
index fa2fbedf..10013354 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-rongelap-inla-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-rongelap-inla-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-gam-1.pdf b/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-gam-1.pdf
index 362f4c77..34d57025 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-gam-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-gam-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-ginla-1.pdf b/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-ginla-1.pdf
index e1adcad9..7f0f7bd1 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-ginla-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-rongelap-mgcv-ginla-1.pdf differ
diff --git a/generalized-additive-models_files/figure-pdf/fig-rongelap-scatter3d-1.pdf b/generalized-additive-models_files/figure-pdf/fig-rongelap-scatter3d-1.pdf
index 7c132f9b..ca1a1c77 100644
Binary files a/generalized-additive-models_files/figure-pdf/fig-rongelap-scatter3d-1.pdf and b/generalized-additive-models_files/figure-pdf/fig-rongelap-scatter3d-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-cdplot-orings-1.pdf b/generalized-linear-models_files/figure-pdf/fig-cdplot-orings-1.pdf
index 191af9ca..bd987aee 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-cdplot-orings-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-cdplot-orings-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-density-filled-1.pdf b/generalized-linear-models_files/figure-pdf/fig-density-filled-1.pdf
index 8d28bc7b..e4e359b1 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-density-filled-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-density-filled-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-esoph-1.pdf b/generalized-linear-models_files/figure-pdf/fig-esoph-1.pdf
index ab6260d8..21b713d8 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-esoph-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-esoph-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-areas-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-areas-1.pdf
index 3a4c4bf0..4c6bf5bf 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-areas-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-areas-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-dens-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-dens-1.pdf
index 621ad61e..9d9fff87 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-dens-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-dens-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-hex-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-hex-1.pdf
index 7652d93b..0edb75fb 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-hex-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-hex-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-nuts-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-nuts-1.pdf
index ea3a89ac..27a2c83c 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-nuts-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-nuts-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-dens-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-dens-1.pdf
index 62799bcd..e847445c 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-dens-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-dens-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-intervals-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-intervals-1.pdf
index c384d952..f92dbb43 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-intervals-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-ppcheck-intervals-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-ridges-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-ridges-1.pdf
index e96b8087..7c5beac0 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-ridges-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-ridges-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-scatter-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-scatter-1.pdf
index 102c787d..378c69cd 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-scatter-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-scatter-1.pdf differ
diff --git a/generalized-linear-models_files/figure-pdf/fig-stan-trace-1.pdf b/generalized-linear-models_files/figure-pdf/fig-stan-trace-1.pdf
index bd24781f..86024d68 100644
Binary files a/generalized-linear-models_files/figure-pdf/fig-stan-trace-1.pdf and b/generalized-linear-models_files/figure-pdf/fig-stan-trace-1.pdf differ
diff --git a/hierarchical-normal-models.html b/hierarchical-normal-models.html
index 71be0785..d5b475b5 100644
--- a/hierarchical-normal-models.html
+++ b/hierarchical-normal-models.html
@@ -790,7 +790,7 @@
str(eight_schools_sim)
#> List of 5
-#> $ mu : num [1:2000(1d)] 10.9 7.32 11.08 6.01 7.17 ...
+#> $ mu : num [1:2000(1d)] 4.379 8.171 12.021 -0.284 7.584 ...
#> ..- attr(*, "dimnames")=List of 1
#> .. ..$ iterations: NULL
-#> $ tau : num [1:2000(1d)] 0.0611 13.9378 0.2101 10.2247 8.0898 ...
+#> $ tau : num [1:2000(1d)] 14.523 0.742 13.614 14.05 10.707 ...
#> ..- attr(*, "dimnames")=List of 1
#> .. ..$ iterations: NULL
-#> $ eta : num [1:2000, 1:8] -0.0263 1.2116 0.6171 0.4923 1.2238 ...
+#> $ eta : num [1:2000, 1:8] 0.8887 1.7902 -0.3404 1.1472 0.0448 ...
#> ..- attr(*, "dimnames")=List of 2
#> .. ..$ iterations: NULL
#> .. ..$ : NULL
-#> $ theta: num [1:2000, 1:8] 10.9 24.2 11.2 11 17.1 ...
+#> $ theta: num [1:2000, 1:8] 17.29 9.5 7.39 15.83 8.06 ...
#> ..- attr(*, "dimnames")=List of 2
#> .. ..$ iterations: NULL
#> .. ..$ : NULL
-#> $ lp__ : num [1:2000(1d)] -54 -46.3 -54 -48.5 -51 ...
+#> $ lp__ : num [1:2000(1d)] -48.4 -51.8 -49.8 -46.1 -49 ...
#> ..- attr(*, "dimnames")=List of 1
#> .. ..$ iterations: NULL
@@ -2267,7 +2267,7 @@
R 语言数据分析实战
发布日期
-
2024年2月1日
+
2024年2月5日
@@ -628,7 +628,7 @@
R 语言数据分析实战
本书初稿是在 RStudio IDE 内使用 Quarto 编辑的,Quarto 是继R Markdown之后,一个新的开源的科学和技术发布系统,它基于 Pandoc支持输出多种格式的书稿,比如 HTML 网页、EPUB 电子书、DOCX 文档和 PDF 便携式文档等。Quarto 吸收了过去 10 年 R Markdown 取得的经验和教训,在书籍写作、创建博客、制作简历和幻灯片等系列场景中支持更加统一的使用语法,一份源文档输出多种格式,使文档内容在不同场景中的迁移成本更低。了解更多 Quarto 特性,请访问 https://quarto.org/。
书中的代码字体采用美观的 Source Code Pro 字体, 为方便跨操作系统编译书籍电子版,正文的中文字体采用开源的 fandol 字体。此外,考虑到美观性,本书图形使用了 Noto 系列中英文字体,它们来自 Google Fonts 字体库,分别是 Noto Sans 无衬线英文字体和 Noto Serif SC 宋体中文字体。
书中 R 包名以粗体表示,如 knitr 包,函数名以等宽体表示,如 plot(),函数的参数名同理。代码块内注释用 # 表示,运行结果每一行开头以 #> 标记。本书写作过程中,依赖 knitr(Xie 2015)、ggplot2(Wickham 2016) 和 lattice(Sarkar 2008) 等众多 R 包。考虑到要同时支持 DOCX、EPUB、PDF 和 HTML 四种书籍格式,书中使用 knitr 包和 gt 包制作静态的表格。
-
为方便测试贡献者提供的 PR,本书托管在 Github 上,同时启用 Github Action 服务,为书籍自定义了一个可复现全书内容的运行环境,包括 R 软件、扩展包和系统软件依赖,详见仓库中的 DESCRIPTION 文件。你现在看到的是在线编译版本,使用 Quarto 1.4.549,最新一次编译时间是 2024-02-01 14:00:55。
+
为方便测试贡献者提供的 PR,本书托管在 Github 上,同时启用 Github Action 服务,为书籍自定义了一个可复现全书内容的运行环境,包括 R 软件、扩展包和系统软件依赖,详见仓库中的 DESCRIPTION 文件。你现在看到的是在线编译版本,使用 Quarto 1.4.549,最新一次编译时间是 2024-02-05 12:50:52。