Generates a Grid from a given DDModel

Generate_GRID(model = NULL, path = NULL, name = NULL, eval_pts = NULL)

Arguments

model

DDModel object

path

character that specifies the full path to the directory in which the Grid should be saved

name

character that represents the name of the Grid (and indirectly the name of the subdirectory set in the directory specified in path)

eval_pts

numeric vector containing number of evaluation points of the parameters in the grid

Value

The path to the grid as a character

Details

Eval_pts specifies the number of evaluation points per parameter that are used in the grid, such the number of integers in eval_pts needs to match the number of parameters in the model. Note that in the given function the evaluation points are allways equally spaced concerning the corresponding parameter domain in the used model. Therefor, if one would like to specify the used evaluation points it is advised to specify the domain in the model.