R/fun.R

mlKmeans <- function(X, y) {

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

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

}

Try the RcppMLPACK package in your browser

Any scripts or data that you put into this service are public.

RcppMLPACK documentation built on May 1, 2019, 6:47 p.m.