Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I couldn't find the scripts for Mixed-Effects Models in S and S-PLUS. The only place is http://stat.bell-labs.com which has code for first two chapters. I'd highly appreciate if someone point out the place to get the scripts for this book. Thanks in advance for your time and cooperation.

share|improve this question

2 Answers

up vote 6 down vote accepted
> library(nlme)
> system.file("scripts", package = "nlme")
[1] "/Library/Frameworks/R.framework/Versions/2.14/Resources/library/nlme/scripts"
> list.files(system.file("scripts", package = "nlme"))
[1] "ch01.R"   "ch02.R"   "ch03.R"   "ch04.R"   "ch05.R"   "ch06.R"   "ch08.R"  
[8] "sims.rda"
> file.show(system.file("scripts", "ch01.R", package = "nlme"))

Magic!

share|improve this answer
+1 Excellent, thanks! – Aaron Dec 24 '11 at 0:55

They're in the package itself, in the inst/scripts directory. I'm sure it's possible to get at it from an existing installation but I'm not sure how; I downloaded the source package and looked inside.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.