Re: [R] Inference on parameters with package "PhaseType"

2015-09-01 Thread Louis Aslett
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

Re: [R] write.table and append

2013-02-08 Thread Louis Aslett
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