Sample model parameters using covariates.

Evaluates the model parameters based on the sysmodels current parameters. Covariates are taken into account.

sample_IQRsysModel(
  sysmodel,
  covariates = NULL,
  parameters = NULL,
  returnCovariates = FALSE
)

Arguments

sysmodel

IQRsysModel

covariates

data frame with covariate values

parameters

optional character vector with parameter names for which output is requested. Can be model variables, too.

returnCovariates

logical, covariate data frame is returned with parameters. Default is FALSE.

Value

data frame with parameter values. One row per row in covariates.

Author

Daniel Kaschek, IntiQuan