findSpreadRdist: find best spreads using Rdist

Description Usage Arguments Value

View source: R/findSpreadRdist.R

Description

find best spreads using Rdist

Usage

1
findSpreadRdist(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


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