linear_link: Linear link function gives the response (i.e. y or ordinate)...

Description Usage Arguments Value Examples

View source: R/linear_link.R

Description

Linear link function gives the response (i.e. y or ordinate) of a linear model.

Usage

1
linear_link(intercept = 0, slope = 1, x)

Arguments

intercept

is a real number corresponding to the intercept of the linear model.

slope

is a real number corresponding to the slope of the linear model.

x

is a real number (or a vector of real numbers) corresponding the abscissa (the input) of the linear model.

Value

y, the output is an real number (or a vector of real numbers) corresponding to the ordinate(s) of the linear model.

Examples

1
linear_link(intercept = 0, slope=1,x=c(1:3))

NicolasEDubois/anaval documentation built on May 7, 2019, 6:18 p.m.