[R] call Fortran from R

2009-09-11 Thread Giacomo Santini
alfa [1] 0.2 $beta [1] 0.3 $result [1] 147456887 where $result is clearly wrong. I suppose I made some mistake with the handling of data types, but I am not able to figure out where. Can someboby help me? Giacomo -- ----------- Giacomo Santini Ph

Re: [R] call Fortran from R

2009-09-11 Thread Giacomo Santini
Thanks! now it works ! Giacomo Duncan Murdoch wrote: On 11/09/2009 4:39 AM, Giacomo Santini wrote: Dear R users, I have to call fortran program from within R (R 2.8.1 on ubuntu 8.10 machine). Suppose I have a fortran code like this (this is only a toy model, my working model is far more

[R] DIC and MCMCpack

2009-06-08 Thread Giacomo Santini
Hi R users, I am using the package MCMCpack and I would compute the Deviance Information Criterion for selecting models, instead of using bayes factors. I know that a similar question have been sent previously to the list by others, but I have found no response. Can somebody help me? bes

[R] problem with geepack

2008-03-05 Thread Giacomo Santini
Hi all I am analyzing a data set containing information about the behaviour of marine molluscs on a vertical wall. Since I have replicate observations on the same individuals I was thinking to use the geepack library. The data are organised in a dataframe with the following variables Date = da