R/samplevtrue.R

samplevtrue = function(y, X, N, particles, priorList){
 n = nrow(y)
 trueV = dget('Output/Samples/v.txt')
 v = matrix(rep(trueV, N), ncol=n, byrow=T)
 log.dv = rep(0, N)

 return(list(values=v, log.dq=log.dv))
}

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.