random.subset {Rfwdmv} | R Documentation |
Generates a random starting subset for multivariate forward searches.
random.subset(X, n.bsb)
X |
a matrix or data frame containing the data. |
n.bsb |
a positive integer specifying the size of the subset. |
a numeric vector containing the random subset.
data(bank.dat) random.subset(bank.dat, 7) # Most common use: # fwdmv(bank.dat, bsb = random.subset)