Hi Paweł,
I replied to your direct email to me a month or so ago but perhaps your
spam filter ate it? I'll repeat here:
Indeed, apologies the documentation could perhaps be a little clearer on
this point: the phtMCMC function is only sampling the generator matrix, not
the initial state probabili
I believe your problem stems from using ifelse() actually ... it
requires the statements which it runs to return a value with the same
shape as the test, which write.table() isn't doing.
Just change it to a regular if with an else and you'll be fine:
for(i in 1:2){
mat <- data.frame(sample(1:30
2 matches
Mail list logo