
Last chance! 50% off unlimited learning
Sale ends in
First order polynomial regression function.
regpoly1(S, grad = FALSE)
m*n matrix with m
design points of dimension n
define if function returns gradient, default is FALSE
returns a list with two elements:
f
matrix of two columns:
1. vector of ones with length m
2. S
df
Jacobian at the first point (first row in S)