R/wd2fhat.R

Defines functions wd2fhat

Documented in wd2fhat

wd2fhat <-
function(est, info){
	info$temp$coef <- rep(0, length(info$temp$coef))
	info$temp$coef[as.numeric(names(est)[-(1:(1+info$ncovt))])] <- 
	                                     est[-(1:(1+info$ncovt))]
	fhat <- as.vector(info$rec(info$temp))
	dim(fhat) = rep(info$d, info$dim.sig)
	return(fhat)
}

Try the refund.wave package in your browser

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

refund.wave documentation built on May 30, 2017, 12:18 a.m.