mm_run_reg {dampack} | R Documentation |
Build formula and run linear regression for metamodel
Description
Build formula and run linear regression for metamodel
Usage
mm_run_reg(analysis, dep, params, dat, type, poly.order, k)
Arguments
analysis |
either "oneway" or "twoway" |
dep |
dependent variable in regression |
params |
all params in PSA |
dat |
data to use in regression |
type |
type of metamodel |
poly.order |
order of polynomial for the linear regression metamodel. Default: 2 |
k |
the dimension of the basis used to represent the smooth term.
The default depends on the number of variables that the smooth is a
function of. |
Value
a statistical metamodel
[Package dampack version 1.0.2.1000 Index]