multi.run: Fit siRSM by Trying Multiple Initial Values

Description Usage Arguments Note Author(s)

View source: R/siRSM-fitting.R

Description

Internal function called by siRSM. Do NOT use.

Usage

1
multi.run(y, X, Z, rep, interaction.only=FALSE, use.parallel=TRUE)

Arguments

y

vector, response

X

matrix, whose columns are covariates for factor one

Z

matrix, whose columns are covariates for factor two, must be of same size as X

rep

number of different initial values to try — if unspecified, the default is twice the dimension of the index

interaction.only

fit an interaction-only model

use.parallel

if TRUE, exploits multiple cores by using foreach, doSNOW, etc

Note

In these more rudimentary functions (not to be called by user), U is referred to as X, and V as Z, due to "historical reasons". Currently, multiple RANDOM initial values are used. In the future, we'd like to switch to using a space-filling design.

Author(s)

Huan Cheng, Mu Zhu


siRSM documentation built on May 29, 2017, 10:54 a.m.