-
Notifications
You must be signed in to change notification settings - Fork 0
/
classes.Rmd
37 lines (31 loc) · 865 Bytes
/
classes.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
---
pagetitle: "Seascape Global Classes"
output:
html_document:
self_contained: false
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = F)
# remotes::install_github("marinebon/seascapeR")
if (!require(librarian)){
install.packages("librarian")
library(librarian)
}
shelf(
dplyr,
glue,
marinebon/seascapeR)
```
The distribution of variables is plotted here as a curved density histogram. Alternatively, you can view them as [binned histograms](classes_hist10.html) (`n_bins=10`).
## Seascape Global Classes {.tabset}
```{r, results='asis'}
n_bins <- 10
dir_www <- here::here("app/www")
dir_svg <- glue("{dir_www}/classes_svg")
web_svg <- "./classes_svg"
src <- lapply(ss_gl_classes$CLASS, function(cl) { # cl=1
knitr::knit_expand('_class.Rmd')
})
res <- knitr::knit_child(text = unlist(src), quiet = TRUE)
cat(res, sep = '\n')
```