predict.gater: Predictions for Gater function

View source: R/gater.R

predict.gaterR Documentation

Predictions for Gater function

Description

The function applies a model produced by the gaterSVM function to every row of a data matrix and returns the model predictions.

Usage

## S3 method for class 'gater'
predict(object, newdata, ...)

Arguments

object

Object of class "gater", created by gater.

newdata

An n x p matrix containing the new input data. Could be a matrix or a sparse matrix object.

...

parameters for future usage.


hetong007/SwarmSVM documentation built on Jan. 10, 2023, 12:52 a.m.