[R] prevent line breaks with sink()

2010-12-09 Thread Duncan.Ramsey
Hello. I have a script that writes vectors to a txt file using sink(). But depending on the console window's size, sometimes you will get output like: [1] 38 84 272 287 305 348 411 413 425 426 427 457 513 517 569 583 784 [18] 866 933 996 Instead of: [1] 38 84 272 287 305 348 411 413 425 426

[R] HGLM Validation

2010-11-30 Thread Duncan.Ramsey
Hello all, I am developing a hierarchical generalized linear model for a dataset I have. I have used lme4 to actually make the model, but the package does not seem well-suited to validation, either cross-validation or validation on a new dataset. I am not attached to lme4 in particular, but I h