peppuR_knn: KNN method

Description Usage Arguments Value

View source: R/MLmethods.R

Description

KNN method

Usage

1
2
peppuR_knn(X_train, X_test, train_class, train_partition, test_partition,
  ...)

Arguments

...

- additional arguements passed to BGLR(...)

X

- n-by-p data.frame containing all of the 'covariates' that will be used to predict class of y

data

- a data.frame with columns: y - n vector of class identifiers for each for of X ID - n vector of patient IDs pair - vector of pair identifiers time - n vector of time point identifiers

Value

the object created by caret::knn3Train


pmartR/peppuR documentation built on Jan. 17, 2020, 12:54 p.m.