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)

Shufeng-Li/GRNNs documentation built on Dec. 18, 2021, 1:08 p.m.