render compile

This commit is contained in:
2026-05-21 14:40:44 +08:00
parent 61bd0bea2f
commit 845b840cc9
6 changed files with 23 additions and 16 deletions
+3 -1
View File
@@ -11,7 +11,6 @@ format:
lang <- "cn"
require(tidyverse)
require(learnr)
knitr::opts_chunk$set(echo = TRUE)
```
# 开始之前
@@ -222,6 +221,8 @@ devtools::install_github("kjhealy/socviz")
## 安装R包
视频
{{< video https://vimeo.com/203516241 width="300" height="200">}}
@@ -235,6 +236,7 @@ devtools::install_github("kjhealy/socviz")
```{r}
#| results: 'asis'
#| echo: false
rmdify::slideend(
wechat = FALSE,
type = "public",
+3 -13
View File
@@ -5,15 +5,6 @@ format:
logo: _extensions/drwater/dwsd/inst/ucaslogo.png
---
```{r}
#| include: false
#| cache: false
lang <- "cn"
require(tidyverse)
require(learnr)
knitr::opts_chunk$set(echo = TRUE)
```
## 数据类型
### 数值型
@@ -53,7 +44,7 @@ c(TRUE, FALSE)
## 特殊值
::: columns
:::: columns
::: {.column width="45%"}
- `NA`: 这是最常见的NA类型,表示缺失值
- `NA_integer_`: 这是NA的整数类型
@@ -62,8 +53,7 @@ c(TRUE, FALSE)
- `NA_complex_`: 这是NA的复数类型
:::
::: {.column width="5%"}
:::
::: {.column width="45%"}
```{r}
#| echo: true
@@ -74,7 +64,7 @@ Inf
```
:::
:::
::::
## 特殊值
+1
View File
@@ -5,3 +5,4 @@ lang: zh
background-image: _extensions/drwater/dwsd/inst/ucaslogo.png
execute:
freeze: true
echo: true
+1
View File
@@ -8,6 +8,7 @@ execute:
```{r}
#| output: asis
#| echo: false
data.frame(fd = dir(".", pattern = "\\d{1}\\.\\d{1}[-_]")) |>
dplyr::mutate(