Learn R Programming

GRNNs (version 0.1.0)

findSpreadRdist: find best spreads using Rdist

Description

find best spreads using Rdist

Usage

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