mm_run_reg: Build formula and run linear regression for metamodel

View source: R/metamodel.R

mm_run_regR 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. k should not be less than the dimension of the null space of the penalty for the term (see null.space.dimension), but will be reset if it is. See choose.k for further information.

Value

a statistical metamodel


DARTH-git/dampack documentation built on Sept. 25, 2024, 4:48 p.m.