R/sampleGtrue.R

sampleGtrue = function(y, X, N, particles, priorList){
 p = ncol(y)
 #
 theta = dget('Output/Samples/theta.txt')
 GTrue = theta$G
 G = matrix(rep(as.numeric(GTrue), each=N), ncol=p^2, byrow=F)
 log.dG = rep(0, N)

 return(list(values=G, log.dq=log.dG))
}

Try the mvst package in your browser

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

mvst documentation built on May 2, 2019, 1:46 p.m.