Re: [R] loop

2008-09-07 Thread Davide Crapis
It's exactely what I was looking for. Thanks a lot -- View this message in context: http://www.nabble.com/loop-tp19346683p19356409.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list

[R] loop

2008-09-06 Thread Davide Crapis
) + prpar-solve(Vmeno1+xx) + snpar-tx%*%y + bbayes-prpar%*%snpar + } it oly gives me the vector calculated with the last value of the sequence, in this case 100. Could you please suggest how to print all the 100 vectors calculated for i in 1:100. Thank you in advance. Davide Crapis -- View

[R] A simple analysis of Bayesian Robustness with R

2008-08-28 Thread Davide Crapis
I have to make a simulation testing the Bayesian Robustness of a normal linear model and comparing the regression results obtained using two different g-priors. I tried with the function blinreg() in the LearnBayes package from J.Albert but it doesn't help me because it uses a standard flat