rsimgmacs buck stockhausen afsc. rsimgmacs: an r-based simulation tool for testing/developing...

12
rsimGmacs Buck Stockhausen AFSC

Upload: noreen-garrett

Post on 19-Jan-2018

213 views

Category:

Documents


0 download

DESCRIPTION

Package Documentation

TRANSCRIPT

Page 1: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

rsimGmacs

Buck StockhausenAFSC

Page 2: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

rsimGmacs: An R-based simulation tool for testing/developing Gmacs

• Provides an independent testing platform– Embodies Gmacs equations– Coded in R– Provides redundancy checking

• Outputs:– R list object– Diagnostic plots– Data input file to Gmacs

• Available at https://github.com/seacode/rsimGmacs.git• Package dependencies: ggplot2, reshape2, tcltk

Page 3: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Package Documentation

Page 4: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Running rsimGmacs

• res<-runSim.BBRKC(pdf=‘rsimCIE.pdf’)

Page 5: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Configuration File (1)

Page 6: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Configuration File (2)

Page 7: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Configuration File (3)

Page 8: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Configuration File (4)

Page 9: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Configuration File (5)

Page 10: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Running rsimGmacs

• res<-runRsim.BBRKC()• res: list of lists

– mc: list object for model configuration• dims: list object with model dimensions info• params: list object with model parameters info

– mp: list object for model processes (rates)– mr: list object for model results

• R_yxz: recruitment by by y,x,z• iN_xmsz: initial abundance by x,m,s,z• N_yxmsz: 5-d array of population abundance by y,x,m,s,z• F_list: list of fisheries-related results• N_vyxmsz: 6-d array of abundance in surveys (v) by y,x,m,s,z

Page 11: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Diagnostic Plots

see rsimCIE.pdf

Page 12: RsimGmacs Buck Stockhausen AFSC. rsimGmacs: An R-based simulation tool for testing/developing Gmacs…

Gmacs input file

See gmacs.input.dat