predict.sumapc: Predict clusters based on a sumapc model

View source: R/sumapc.R

predict.sumapcR Documentation

Predict clusters based on a sumapc model

Description

Predict clusters based on a sumapc model

Usage

## S3 method for class 'sumapc'
predict(
  object,
  newdata,
  batch = Inf,
  multi_thread = TRUE,
  verbose = FALSE,
  ...
)

Arguments

object

sumapc model.

newdata

a data matrix.

batch

integer. Split newdata in small batches reducing memory usage.

multi_thread

logical.

verbose

logical.

...

NOT USED.

Value

A vector of cluster numbers with length = nrow(data)


OuNao/sumapc documentation built on May 5, 2024, 12:35 p.m.