Skip to content

Commit

Permalink
Build site
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 22, 2022
1 parent 00a5c64 commit 65173ea
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 3 deletions.
14 changes: 13 additions & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ articles:
Steelhead-Upper-Columbia-River-DPS-ICUCsthdModel: Steelhead-Upper-Columbia-River-DPS-ICUCsthdModel.html
Steelhead-Upper-Columbia-River-DPS-ICUCsthdSurvey2020: Steelhead-Upper-Columbia-River-DPS-ICUCsthdSurvey2020.html
Steelhead-Upper-Willamette-River-DPS-UWsthd2020: Steelhead-Upper-Willamette-River-DPS-UWsthd2020.html
last_built: 2022-04-22T01:06Z
last_built: 2022-04-22T01:25Z

15 changes: 14 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,26 @@ NMFS-NWFSC-171. https://doi.org/10.25923/kq2n-ke70

## Installation

To install, install the **devtools** package (if needed) and then use:
Install the **devtools** package (if needed) and then use:
```
library(devtools)
devtools::install_github("nwfsc-math-bio/VRData@*release")
library(VRData)
```

## To use

To use the data in R, see the examples under the `Data info` tab. For example to make a plot of the spawners, you could use
```
data('Puget Sound-PSchinook2020')
library(ggplot2)
out$NUMBER_OF_SPAWNERS[out$NUMBER_OF_SPAWNERS==-99] <- NA
ggplot(out, aes(x=YEAR, y=NUMBER_OF_SPAWNERS)) +
geom_point(na.rm = TRUE) +
ggtitle('Puget Sound-PSchinook2020') +
facet_wrap(~COMMON_POPULATION_NAME))
```

****

## Disclaimer
Expand Down

0 comments on commit 65173ea

Please sign in to comment.