runExample: Run a Single GUI Example Included with PBS Modelling

runExampleR Documentation

Run a Single GUI Example Included with PBS Modelling

Description

Display a GUI to demonstrate one PBS Modelling example.

The example source files can be found in the R directory .../library/PBSmodelling/examples.

Usage

  runExample(ex, pkg="PBSmodelling")

Arguments

ex

string specifying an example in the pkg directory examples.

pkg

package with an examples subdirectory.

Details

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.

Note

The examples are copied from .../library/PBSmodelling/examples to R's current temporary working directory and run from there.

Author(s)

Rowan Haigh, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC

See Also

runDemos, runExamples


PBSmodelling documentation built on Nov. 9, 2023, 5:07 p.m.