saveresults | R Documentation |
savereults saves all the tables generated to a text file named after the species and fishery and puts it into resultdir. The outputs include for all data relating to the species: catch-by-method, catch-by-zone, catch-by-fishery, then only for the data selected for the standardization, the: catch-by-method, catch-by-zone, and the catch-by-DepCat, but also the number of observations modified by each of the selction criteria, the data summary, and the raw output from the standardizatio.
saveresults(sps, answer, out, mods, splabel, rundir)
sps |
the data.frame containing all data relating to the species |
answer |
the list obtained from 'selectdata' containing the data.frame of the selected data, and the nobs table containing how different selection criteria affect the number of observations. |
out |
the output from standLM or dosingle containing the standardization |
mods |
the mods defined for the standardization |
splabel |
the name of the species and fishery |
rundir |
the path to the results directory |
nothing, but it does write a text file to the results directory.
## Not run:
print("this will take some doing")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.