# NOT RUN {
{
filename = system.file("extdata", "data_fishing.csv", package="osmose")
conf = readOsmoseConfiguration(filename)
ndt = getOsmoseParameter(conf, "simulation", "time", "ndtperyear")
nyear = getOsmoseParameter(conf, "simulation", "time", "nyear")
fishing = conf$mortality$fishing
fish0 = getFishingMortality("sp0", fishing, nyear, ndt)
}
# }
Run the code above in your browser using DataLab