Learn R Programming

SGPR (version 0.1.2)

process.y: Process y for a sparse group penalty

Description

A function that checks the response vector y for possible errors.

Usage

process.y(y, type)

Value

The verified response vector y.

Arguments

y

The response vector.

type

A string indicating the type of regression model (linear or binomial).