Learn R Programming

rFSA (version 0.1.0)

rstart: Random starts with m variables

Description

Random starts with m variables

Usage

rstart(m, nvars, quad = FALSE, numrs = 1)

Arguments

m

order of interaction to include.

nvars

number of varialbes that could be included in the interaction.

quad

whether to include quadratic terms or not.

numrs

number of random starts to compute.

Value

A matrix of random starts by row

Examples

Run this code
# NOT RUN {
rstart(2,5,quad=FALSE,numrs=3) #doesn't include quadratic terms
rstart(2,5,quad=TRUE,numrs=3) #does include quadratic terms
# }

Run the code above in your browser using DataLab