Learn R Programming

butcher (version 0.3.5)

axe-kproto: Axing a kproto.

Description

Axing a kproto.

Usage

# S3 method for kproto
axe_data(x, verbose = FALSE, ...)

# S3 method for kproto axe_fitted(x, verbose = FALSE, ...)

Value

Axed kproto object.

Arguments

x

A model object.

verbose

Print information each time an axe method is executed. Notes how much memory is released and what functions are disabled. Default is FALSE.

...

Any additional arguments related to axing.

Examples

Run this code
if (FALSE) { # rlang::is_installed("clustMixType")
library(clustMixType)

kproto_fit <- kproto(
  ToothGrowth,
  k = 2,
  lambda = lambdaest(ToothGrowth),
  verbose = FALSE
)

out <- butcher(kproto_fit, verbose = TRUE)
}

Run the code above in your browser using DataLab