View source: R/CGGP_fastcalcassist_fs.R
CGGP_internal_calcpwanddpw | R Documentation |
Calculate derivative of pw
CGGP_internal_calcpwanddpw(CGGP, y, theta, return_lS = FALSE)
CGGP |
CGGP object |
y |
Measured values for CGGP$design |
theta |
Correlation parameters |
return_lS |
Should lS and dlS be returned? |
derivative matrix of pw with respect to logtheta
cggp <- CGGPcreate(d=3, batchsize=100)
y <- apply(cggp$design, 1, function(x){x[1]+x[2]^2+rnorm(1,0,.01)})
CGGP_internal_calcpwanddpw(CGGP=cggp, y=y, theta=cggp$thetaMAP)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.