gradient_fun: Calculate the Gradient for Regression

View source: R/targets.R

gradient_funR Documentation

Calculate the Gradient for Regression

Description

Calculate the Gradient for Regression

Usage

gradient_fun(y, tXy, tXX, beta)

Arguments

y

A vector of observations

tXy

A vector of the transpose of design matrix X times the output data y

tXX

A matrix of the transpose of design matrix X times the design matrix X

beta

A vector of regression parameters

Value

The gradient vector


jtipton25/sgMRA documentation built on Feb. 9, 2023, 4:53 a.m.