-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
... to accompany accepted paper at Fish and Fisheries
- Loading branch information
1 parent
ed0f5d1
commit c9cc446
Showing
21 changed files
with
575 additions
and
61 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ | |
^\.github$ | ||
^cran-comments\.md$ | ||
^CRAN-SUBMISSION$ | ||
|
||
^data-raw$ | ||
|
||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
#' Fisheries natural mortality example | ||
#' | ||
#' Data used to demonstrate phylogenetic comparative methods for fisheries science. | ||
#' Specifically a copy of the Then et al. database \doi{10.1093/icesjms/fsu136} | ||
#' using file "Mlifehist_ver1.0.csv" accessed from | ||
#' \url{https://www.vims.edu/research/departments/fisheries/programs/mort_db/index.php} | ||
#' | ||
#' @name Mlifehist_ver1_0 | ||
#' @docType data | ||
#' @usage data(Mlifehist_ver1_0) | ||
#' @keywords data | ||
NULL | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
data_dir = R'(C:\Users\James.Thorson\Desktop\Git\phylosem\data-raw)' | ||
|
||
# Load and format | ||
Mlifehist_ver1_0 = read.csv( file.path(data_dir,"Mlifehist_ver1.0.csv") ) | ||
Mlifehist_ver1_0 = Mlifehist_ver1_0[,-match(c("GrowthRef","Mref","tmaxRef","SpecificLocation","CommonName"),names(Mlifehist_ver1_0))] | ||
|
||
# Export | ||
setwd( R'(C:\Users\James.Thorson\Desktop\Git\phylosem)' ) | ||
usethis::use_data( Mlifehist_ver1_0, overwrite=TRUE ) |
Oops, something went wrong.