Learn R Programming

medley (version 0.1.0)

constant: Trivial regression model which returns a given constant

Description

Trivial regression model which returns a given constant

Usage

constant(x, y, k)

Arguments

x
the matrix of predictors
y
the vector of responses
k
the constant to return