Created
May 22, 2023 18:22
-
-
Save kellobri/e071806a0ebe59e8e05c6deb572e2ffb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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)) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment