20 lines
440 B
Plaintext
20 lines
440 B
Plaintext
---
|
|
title: "Visualizing the ocean floor"
|
|
output: html_document
|
|
params:
|
|
data: "hawaii"
|
|
---
|
|
|
|
```{r include = FALSE}
|
|
library(marmap)
|
|
library(ggplot2)
|
|
```
|
|
|
|
The [marmap](https://cran.r-project.org/web/packages/marmap/index.html) package provides tools and data for visualizing the ocean floor. Here is an example contour plot of marmap's ``r params$data`` dataset.
|
|
|
|
```{r echo = FALSE}
|
|
data(list = params$data)
|
|
autoplot(get(params$data))
|
|
```
|
|
|