R/derivQfunfin.R

Defines functions derivQfun

Documented in derivQfun

derivQfun=function(est,fix.nugget=TRUE){

  if(!inherits(est,'SAEMSpatialCens')) stop("an object of the class SAEMSpatialCens must be provided")
  if(!is.logical(fix.nugget)) stop("fix.nugget must be TRUE or FALSE")

  out=derivQ(est=est,fix.nugget=fix.nugget)

  return(list(Qlogvalue=out$Qlogvalue,gradQ=out$gradQ,HQ=out$HQ,QI=out$QI,Sigma=out$Sigma))

}

Try the CensSpatial package in your browser

Any scripts or data that you put into this service are public.

CensSpatial documentation built on Feb. 16, 2023, 6:15 p.m.