findSpreadVegan: Find best spread using vegan function
Description
Find best spread using vegan function
Usage
findSpreadVegan(x, y, k, fun, scale = TRUE)
Arguments
x
The dataframe of training predictor dataset
y
The dataframe of training response variables
k
The numeric number of k folds
scale
The logic statements (TRUE/FALSE)
Value
The vector of best spreads