csbread {PSPManalysis} | R Documentation |
Reads the state of a structured population model from a CSB file
Description
csbread
reads a CSB file, which is generated by PSPMdemo
,
PSPMequi
, PSPMecodyn
and PSPMevodyn
to save the entire state of the environmental variables and physiologically
structured populations during computations.
Usage
csbread(csbfile = NULL, state = -1)
Arguments
csbfile |
(string, required) Name of the CSB file to be read with or without '.csb' extension. |
state |
(integer, optional) If not specified |
Details
output <- csbread(csbfile = NULL, state = -1)
Value
If a specific state is specified and found in the file, the state is returned as a list.
Examples
## Not run:
PSPMdemo("Medfly", c(2, 11, 0.1, 11, 15), clean = TRUE)
csbread("Medfly-PGR-0000")
csbread("Medfly-PGR-0000", 1)
## End(Not run)
[Package PSPManalysis version 0.3.9 Index]