R/fun.R

Defines functions mlKmeans

Documented in mlKmeans

mlKmeans <- function(X, y) {

    X <- as.matrix(X)
    y <- as.numeric(y)

    .Call( "RcppMLPACK_kmeans", X, y, PACKAGE = "RcppMLPACK" )

}
thirdwing/RcppMLPACK1 documentation built on April 25, 2020, 1:06 p.m.