random.subset {Rfwdmv}R Documentation

Random fwdmv Starting Subset

Description

Generates a random starting subset for multivariate forward searches.

Usage

random.subset(X, n.bsb)

Arguments

X a matrix or data frame containing the data.
n.bsb a positive integer specifying the size of the subset.

Value

a numeric vector containing the random subset.

See Also

fwdmv, fwdmv.init.

Examples

data(bank.dat)
random.subset(bank.dat, 7)

# Most common use: #
fwdmv(bank.dat, bsb = random.subset)

[Package Rfwdmv version 0.72-2 Index]