Learn R Programming

GRNNs (version 0.1.0)

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

fun

The distance function

scale

The logic statements (TRUE/FALSE)

Value

The vector of best spreads