Learn R Programming

DLMtool (version 5.2)

DLMDataDir: Directory of the installed package on your computer

Description

A way of locating where the package was installed so you can find example data files and code etc.

Usage

DLMDataDir(stock=NA)

Arguments

stock

Character string representing the name of a .csv file e.g. 'Snapper', 'Rockfish'

Examples

Run this code
# NOT RUN {
tilefish_location <- DLMDataDir("Gulf_blue_tilefish")
tilefish_Data <- new("Data", tilefish_location)
# }

Run the code above in your browser using DataLab