Learn R Programming

multisensi (version 2.1-1)

simulmodel: Model simulation

Description

Function that simulates the model outputs

Usage

simulmodel(model, plan, nomFic = NULL, verbose = FALSE, ...)

Arguments

model

name of R-function

plan

data frame of input design

nomFic

name of file that contains the model function

verbose

verbose

...

Value

data frame of model outputs

Details

The model function must be a R-function. Models defined as functions will be called once with an expression of the form y <- f(X) where X is a vector containing a combination of levels of the input factors, and y is the output vector of length \(q\), where \(q\) is the number of output variables