runExample | R Documentation |
Display a GUI to demonstrate one PBS Modelling example.
The example source files can be found in the R directory
.../library/PBSmodelling/examples
.
runExample(ex, pkg="PBSmodelling")
ex |
string specifying an example in the |
pkg |
package with an |
If no example is specified or if the example does not exist, a GUI pops up informing you of potential choices. Note that the string choice is case-sensitive.
Some examples use external packages which must be installed to work correctly:
BRugs
- LinReg
, MarkRec
, and CCA
;
deSolve/PBSddesolve
- FishRes
;
PBSmapping
- FishTows
.
The examples are copied from .../library/PBSmodelling/examples
to R's current
temporary working directory and run from there.
Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
runDemos
, runExamples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.