target_fun: Calculate the Target function for Regression

View source: R/targets.R

target_funR Documentation

Calculate the Target function for Regression

Description

Calculate the Target function for Regression

Usage

target_fun(y, X, beta)

Arguments

y

A vector of observations

X

A design matrix

beta

A vector of regression parameters

Value

The mean square error (MSE) from the linear model


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