Regression: Regpoly2

Description

Second order polynomial regression function.

Usage

1
regpoly2(S, grad = FALSE)

Arguments

S

m*n matrix with m design points of dimension n

grad

define if function returns gradient, default is FALSE

Value

returns a list with two elements:

f

matrix:
( 1 S S[,1]*S S[,2]S[,2:n] ... S[,n]^2 )

df

Jacobian at the first point (first row in S)

Author(s)

The authors of the original DACE Matlab code http://www2.imm.dtu.dk/projects/dace/ are Hans Bruun Nielsen hbn@imm.dtu.dk, Soren Nymand Lophaven and Jacob Sondergaard.
Ported to R by Martin Zaefferer martin.zaefferer@fh-koeln.de.

See Also

spotPredictDace daceBuilder

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.