R/predict.GPCE.lar.R

Defines functions predict.GPCE.lar

Documented in predict.GPCE.lar

predict.GPCE.lar <- function(object,x,Selection=1:nrow(object$TruncSet),...) {
  A=object$TruncSet[Selection,]
  Design=GetDesign4Predict(x,object$Args$InputDistrib,object$Args$ParamDistrib,object$Args$PCSpace)
  DM=DataMatrix(A,Design$PCE,object$Args$InputDistrib,object$Args$pmaxi,object$Args$PCSpace)
  MetaOut=DM%*%object$CoeffPCE[Selection,]  
  return(MetaOut)
}

Try the GPC package in your browser

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

GPC documentation built on May 30, 2017, 12:50 a.m.