Defines functions loglikeCpp gradientMultinomialCpp hessianMultinomialCpp

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

loglikeCpp <- function(X, b, y, n) {
    .Call('_predkmeans_loglikeCpp', PACKAGE = 'predkmeans', X, b, y, n)

gradientMultinomialCpp <- function(X, b, y, k) {
    .Call('_predkmeans_gradientMultinomialCpp', PACKAGE = 'predkmeans', X, b, y, k)

hessianMultinomialCpp <- function(X, b, y, p, k) {
    .Call('_predkmeans_hessianMultinomialCpp', PACKAGE = 'predkmeans', X, b, y, p, k)

Try the predkmeans package in your browser

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

predkmeans documentation built on Jan. 11, 2020, 9:29 a.m.