Displaying 2 results from an estimated 2 matches for "occamstypewrit".
Did you mean:
occamstypewriter
2012 Aug 17
2
R package compilation: files in src directory should be ignored if C library is not available
...R functions are disabled).
I hope that this is clear, and am happy to post my code if it would be useful.
Many thanks in advance.
Erika
---
Erika Cule
PhD student in Statistical Genetics
Imperial College London
Department of Epidemiology and Public Health
erika.cule05 at imperial.ac.uk
http://occamstypewriter.org/erikacule/
2012 Dec 04
1
Winbugs from R
Hi,
I am trying to covert a Winbugs code into R code. Here is the winbugs code
model{# model’s likelihoodfor (i in 1:n){time[i] ~ dnorm( mu[i], tau ) # stochastic componenent# link and linear predictormu[i] <- beta0 + beta1 * cases[i] + beta2 * distance[i]}# prior distributionstau ~ dgamma( 0.01, 0.01 )beta0 ~ dnorm( 0.0, 1.0E-4)beta1 ~ dnorm( 0.0, 1.0E-4)beta2 ~ dnorm( 0.0, 1.0E-4)#