findSpread {GRNNs} | R Documentation |
Find best spread
Description
Find best spread
Usage
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
data("met")
data("physg")
## Not run: best.spread<-findSpread(physg,met,10,"bray",scale=TRUE)
[Package GRNNs version 0.1.0 Index]