Skip to content

shcaba/Natural-Mortality-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Natural Mortality Tool (NMT)

The Natrual Mortality tool offers an accessible way to estimate natural mortality fro a variety of life history information. The tool also offers a means to include uncertainty and combine multiple estimators into a non-parametric distribution.

The publication for the NMT can be found in this repository and at https://doi.org/10.1016/j.fishres.2022.106493. Please use this to cite the tool.

The tool can be launched directly from this site: https://connect.fisheries.noaa.gov/natural-mortality-tool/

You can also locally use this code by downloading the code and installing the below libraries.

Installing libraries and locally running the NMT tool

packages<-c("shiny","fishmethods","ggplot2","truncnorm","data.table","RColorBrewer","viridis","reshape2")


The current version of the FishLife tool also needs to be installed:
devtools::install_github("james-thorson/FishLife")
library(FishLife)

Fishlife currently only works using an older version of the rfishbase library. 
Please downloaded the zipped folder in this repository and replace any version in the library folder of you current version of R.

Running the tool can be accomplished in any of the following ways:

  1. https://connect.fisheries.noaa.gov/natural-mortality-tool/
  2. shiny::runApp(ENTER HERE USER PATH TO FOLDER CONTAINING THE NMT files)
  3. Open the server.r or ui.r files in RStudio and push the "Run App" button (top rigt corner of the source panel). I recommend using the "Run External" option within the "Run App" button (see small arrow in button to change options)
  4. runGitHub("Natural-Mortality-Tool", "shcaba",destdir=mydir) where mydir is the path you chose to obtain results.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages