predict.cv.glmmsel {glmmsel}R Documentation

Predict function for cv.glmmsel object

Description

Generates predictions for new data using a cross-validated value of the regularisation parameter.

Usage

## S3 method for class 'cv.glmmsel'
predict(object, x.new, cluster.new, lambda = "lambda.min", ...)

Arguments

object

an object of class cv.glmmsel

x.new

a matrix of new values for the predictors

cluster.new

a vector identifying the clusters that the rows of x.new belong to

lambda

a value of the regularisation parameter

...

any other arguments

Value

A matrix of predictions.

Author(s)

Ryan Thompson <ryan.thompson-1@uts.edu.au>


[Package glmmsel version 1.0.3 Index]