runJJM: Run a JJM model

Description Usage Arguments Examples

View source: R/jjmTools-main.R

Description

Function to run one or several JJM models

Usage

1
2
3
runJJM("models", path = ".", input = "", useGuess = FALSE, exec = "",
  guess = NULL, iprint = 100, wait = TRUE, parallel = FALSE,
  temp = NULL, ...)

Arguments

models

String with the name of the models to be run.

path

Folder where the .ctl is located.

input

Folder where the .dat is located.

exec

Executable version. jjm2014.exe: One stock, jjm2015.exe: Multi-stock

useGuess

boolean, to use an initial guess for the parameters?

guess

File with the initial guess for the parameters. If NULL, will use model.par in the output folder.

iprint

iprint parameter for the JJM model, 100 by default.

wait

boolean, wait for the model to finish? Forced to be TRUE.

temp

character, path for a temporal directory to run models, if NULL a temporal folder is automaticaly created.

...

Arguments passed from system function.

Examples

1
model = runJJM(model = "model2014ms", path = "config", input = "input", exec= "jjm2015.exe")

imarpe/jjmTools documentation built on May 18, 2019, 4:45 a.m.