search for: dataextract

Displaying 1 result from an estimated 1 matches for "dataextract".

Did you mean: dataextractor
2006 Nov 03
1
Translation of R code required
...aset. I have downloaded and installed R but I dont seem to be able to get the code to run. I was hoping someone on the list would be able to give me a 'translation' of what the code is trying to do and if there appears to be any errors in it. The code is; mental <- read.csv("dataextract.csv") mental$Rx <- factor(mental$Rx, levels=c("VS","IPS")) library(MASS) model.effect <- glmmPQL(p~Benefit/Rx, ~1|Centre, data=mental, family=quasi(link="identity", variance="mu(1-mu)"), weight=n) model.combined <- glmmPQL(p~ Rx, ~1|Centre,...