Learn R Programming

SPOT (version 2.11.10)

regpoly2: Regression: Regpoly2

Description

Second order polynomial regression function.

Usage

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)

See Also

buildKrigingDACE