varietal2distributional: Convert varietal to distributional data
Description
Convert an object of class varietal either to a list of
distributional objects by breaking it up into separate elements, or
to a single distributional object corresponding to the first
principal component.
logical. If TRUE, returns a list of
distributional objects (one for each element). If FALSE,
returns a single distributional object (containing the PC1
scores for each sample).
plot
logical. If TRUE, shows the PCA biplot that is
used when bycol is FALSE.