lin.model {calib}R Documentation

Linear or Quadratic model.

Description

Internal function, calculates the response values for given set of x values and the associated gradient.

Usage

lin.model(x, beta, w = 1, type)

Arguments

x Independent variables.
beta If type = "lin", beta is a single value, if type = "quad", beta is a two values.
w Weight vector.
type lin or quad.

Author(s)

Perry Haaland, Elaine McVey, Daniel Samarov

See Also

calib.fit


[Package calib version 2.0.0 Index]