if (FALSE) {
model.list <- list('mean' = 0,
'std.dev' = formula( ~ 1 + cov_x + cov_y),
'scale' = formula( ~ 1 + cov_x + cov_y),
'aniso' = 0,
'tilt' = 0,
'smooth' = 3/2,
'nugget' = -Inf)
coco_object <- coco(type = 'dense',
data = holes[[1]][1:100,],
locs = as.matrix(holes[[1]][1:100,1:2]),
z = holes[[1]][1:100,]$z,
model.list = model.list)
optim_coco <- cocoOptim(coco_object,
boundaries = getBoundaries(coco_object,
lower.value = -3, 3))
getCovMatrix(optim_coco)
}
Run the code above in your browser using DataLab