Nothing
# Program: linear.model.R
# Location: s:/novick/R libraries/Hill Model/funs
# Version: 1
# Author: Steven Novick
# Date: November 30, 2023
# Purpose: Linear Model, gradient algorithms
# Can be used with "Optim Model" (Novick) library
linear_model = function(theta, x){ as.vector(x%*%theta) }
attr(linear_model, "gradient") = function(theta, x)
{
return(x)
}
attr(linear_model, "start") = function(x, y)
{
x.qr = qr(x)
beta0 = qr.coef(x.qr, y)
return(beta0)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.