氏名 藤原大鼓
学籍番号 A0521016
trees_temp <- trees
str(trees_temp)
## 'data.frame': 31 obs. of 3 variables:
## $ Girth : num 8.3 8.6 8.8 10.5 10.7 10.8 11 11 11.1 11.2 ...
## $ Height: num 70 65 63 72 81 83 66 75 80 75 ...
## $ Volume: num 10.3 10.3 10.2 16.4 18.8 19.7 15.6 18.2 22.6 19.9 ...
skimr::skim(trees_temp)
Data summary
| Name |
trees_temp |
| Number of rows |
31 |
| Number of columns |
3 |
| _______________________ |
|
| Column type frequency: |
|
| numeric |
3 |
| ________________________ |
|
| Group variables |
None |
Variable type: numeric
| Girth |
0 |
1 |
13.25 |
3.14 |
8.3 |
11.05 |
12.9 |
15.25 |
20.6 |
▃▇▃▅▁ |
| Height |
0 |
1 |
76.00 |
6.37 |
63.0 |
72.00 |
76.0 |
80.00 |
87.0 |
▃▃▆▇▃ |
| Volume |
0 |
1 |
30.17 |
16.44 |
10.2 |
19.40 |
24.2 |
37.30 |
77.0 |
▇▅▁▂▁ |
library(gt)
trees|> tail(n = 31) |> gt() |>tab_header(
title = "木のデータ",
subtitle = "rに入っているデータの一つ") |>
cols_label(
Girth = "周囲",
Height = "高さ",
Volume = "体積" )
| 木のデータ |
| rに入っているデータの一つ |
| 周囲 |
高さ |
体積 |
| 8.3 |
70 |
10.3 |
| 8.6 |
65 |
10.3 |
| 8.8 |
63 |
10.2 |
| 10.5 |
72 |
16.4 |
| 10.7 |
81 |
18.8 |
| 10.8 |
83 |
19.7 |
| 11.0 |
66 |
15.6 |
| 11.0 |
75 |
18.2 |
| 11.1 |
80 |
22.6 |
| 11.2 |
75 |
19.9 |
| 11.3 |
79 |
24.2 |
| 11.4 |
76 |
21.0 |
| 11.4 |
76 |
21.4 |
| 11.7 |
69 |
21.3 |
| 12.0 |
75 |
19.1 |
| 12.9 |
74 |
22.2 |
| 12.9 |
85 |
33.8 |
| 13.3 |
86 |
27.4 |
| 13.7 |
71 |
25.7 |
| 13.8 |
64 |
24.9 |
| 14.0 |
78 |
34.5 |
| 14.2 |
80 |
31.7 |
| 14.5 |
74 |
36.3 |
| 16.0 |
72 |
38.3 |
| 16.3 |
77 |
42.6 |
| 17.3 |
81 |
55.4 |
| 17.5 |
82 |
55.7 |
| 17.9 |
80 |
58.3 |
| 18.0 |
80 |
51.5 |
| 18.0 |
80 |
51.0 |
| 20.6 |
87 |
77.0 |
trees
## Girth Height Volume
## 1 8.3 70 10.3
## 2 8.6 65 10.3
## 3 8.8 63 10.2
## 4 10.5 72 16.4
## 5 10.7 81 18.8
## 6 10.8 83 19.7
## 7 11.0 66 15.6
## 8 11.0 75 18.2
## 9 11.1 80 22.6
## 10 11.2 75 19.9
## 11 11.3 79 24.2
## 12 11.4 76 21.0
## 13 11.4 76 21.4
## 14 11.7 69 21.3
## 15 12.0 75 19.1
## 16 12.9 74 22.2
## 17 12.9 85 33.8
## 18 13.3 86 27.4
## 19 13.7 71 25.7
## 20 13.8 64 24.9
## 21 14.0 78 34.5
## 22 14.2 80 31.7
## 23 14.5 74 36.3
## 24 16.0 72 38.3
## 25 16.3 77 42.6
## 26 17.3 81 55.4
## 27 17.5 82 55.7
## 28 17.9 80 58.3
## 29 18.0 80 51.5
## 30 18.0 80 51.0
## 31 20.6 87 77.0