R/sampleztrue.R

Defines functions sampleztrue

sampleztrue = function(y, X, N, particles, priorList){
 n = nrow(y)
 trueZ = dget('Output/Samples/z.txt')
 z = matrix(rep(trueZ,N), ncol=n, byrow=T)
 log.dz = rep(0, N)
 #
 return(list(values=z, log.dq=log.dz))
}

Try the mvst package in your browser

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

mvst documentation built on May 29, 2024, 8:30 a.m.