knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of dfo is to facilitate the reading of several file formats used by the Department of Fisheries and Oceans (DFO), Canada.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("dankelley/dfo")
The following reads, summarizes, and plots an IOS-formatted CTD
file that is provided with the package. (Type ?read.ctd.ios
in
an R console for more details.)
library(dfo) file <- system.file("extdata", "2007-019-055.ctd", package="dfo") ctd <- read.ctd.ios(file) summary(ctd) plot(ctd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.