findSpread: Find best spread

Description Usage Arguments Value Examples

View source: R/findSpread.R

Description

Find best spread

Usage

1
findSpread(p_train, v_train, k, fun, scale = TRUE)

Arguments

p_train

The dataframe of training predictor dataset

v_train

The dataframe of training response variables

k

The numeric number of k folds

fun

The distance function

scale

The logic statements (TRUE/FALSE)

Value

Best spread

Examples

1
2
3
data("met")
data("physg")
## Not run: best.spread<-findSpread(physg,met,10,"bray",scale=TRUE)

GRNNs documentation built on Sept. 8, 2021, 5:09 p.m.