If training set too small, augment it with parametric bootstrap
sfaPBootstrap(realclass, x, sfaList)
true class of training data (can be vector, numerics, integers, factors)
matrix containing the training data
list with several parameter settings, e.g. as created by sfa2Create
sfaList$xpDimFun
(=xpDim by default) calculated dimension of expaned SFA space
sfaList$deg
degree of expansion (should not be 1, not implemented)
sfaList$ppRange
ppRange for SFA algorithm
sfaList$nclass
number of unique classes
sfaList$doPB
do (1) or do no (0) param. bootstrap.
a list list
containing:
training set extended to minimu number of recors1.5*(xpdim+nclass), if necessary
training class labels, extended analogously