R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
    tglkmeans.set_parallel(pmax(1, round(parallel::detectCores() * 0.75)))
    utils::suppressForeignCheck(c("clust", "new_clust", "true_clust", "intra_clust_order", "idx", ":="))
    utils::globalVariables(c("clust", "new_clust", "true_clust", "intra_clust_order", "idx", ":="))
}

Try the tglkmeans package in your browser

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

tglkmeans documentation built on May 29, 2024, 10:58 a.m.