Arguments
- run
The numerical value of the folder number containing the run results. Loading results of a prior standard run in folder "1" are as simple as
run1 <- PM_load(1)
. There is no default value for this, and if missing, Pmetrics will only search the current working directory for output files.- file
Optional name of an .Rdata file created by running the
$save
method for a PM_result object. For example,run2 <- PM_load(2, "other.Rdata")
will look in the run 2 folder outputs for a file named "other.Rdata".PM_load(file = "other.Rdata")
will look in the current working directory, sincerun
is missing. Iffile
is missing, Pmetrics will attempt to find a "PMout.Rdata" or the older "NPAGout.Rdata" or "IT2Bout.Rdata" files in either the current working directory (ifrun
is not specified) or therun/outputs
folder, ifrun
is provided. in NPrun.
Value
An R6 PM_result.