Learn R Programming

DLMtool (version 3.2)

Fease_xl: Read in feasibility parameters from Excel spreadsheet

Description

A function to read in feasibility parameters from an Excel spreadsheet with tabs named following specific convention

Usage

Fease_xl(fname, stkname, fpath = "", saveCSV = FALSE)

Arguments

fname
Name of the Excel spreadsheet file. Must include file extension.
stkname
Name of the Stock.
fpath
Full file path, if file is not in current working directory
saveCSV
Do you also want to save the Stock, Fleet and Observation parameters to CSV files?

Value

A object of class Fease

Details

The Excel spreadsheet must have tabs named with the following convention. For example if stkname is "myFish", the tab must be named "myFishFease,

Examples

Run this code
 ## Not run: 
#  myFease <- Fease_xl(fname="FeaseTables.xlsx", stkname="myFish")
# ## End(Not run)

Run the code above in your browser using DataLab