predict.samEL: Prediction function for S3 class '"samEL"'

Description Usage Arguments Details Value See Also

View source: R/samEL.R

Description

Predict the labels for testing data.

Usage

1
2
## S3 method for class 'samEL'
predict(object, newdata, ...)

Arguments

object

An object with S3 class "samEL".

newdata

The testing dataset represented in a n by d matrix, where n is testing sample size and d is dimension.

...

System reserved (No specific usage)

Details

The testing dataset is rescale to the samELe range, and expanded by the samELe spline basis functions as the training data.

Value

expectations

Estimated expected counts also represented in a n by the length of lambda matrix, where n is testing sample size.

See Also

samEL


SAM documentation built on July 1, 2021, 9:07 a.m.