Rdocumentation
powered by
Learn R Programming
siRSM (version 1.1)
multi.run: Fit siRSM by Trying Multiple Initial Values
Description
Internal function called by
siRSM
. Do NOT use.
Usage
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