nextswap: Variables to include in the >1st step of an mth order...

Description Usage Arguments Value

Description

Finds the swaps available given a current position given previous picks.

Usage

1
nextswap(cur, n, quad = FALSE)

Arguments

n

The number of explanatory variables in available to swap.

quad

Whether to include quadratic terms. ie (x1*x1) as potential swaps.

curpos

A vector of length greater than 2 of what current explantory varialbes are being used in the model.

prevpos

A vector of previous best spots

Value

a matrix with the possible forms by column.


jmsuk0587/rFSA documentation built on May 19, 2019, 2:57 p.m.