search for: mccaskie

Displaying 5 results from an estimated 5 matches for "mccaskie".

2009 Nov 25
1
Error in parse(outFile)
...e) : 2:1: unexpected $end ERROR: unable to collate files for package 'SimHap' Does anyone know what the "outFile" it is referring to here, and why this would be happening in a linux build, but not in windows. In both cases I'm using R 2.10.0. Cheers Pam Dr Pamela McCaskie Assistant Professor Centre for Genetic Epidemiology and Biostatistics M409 University of Western Australia Email: pam.mccaskie@uwa.edu.au Ph: 6488 6741 Fax: 6488 6750 [[alternative HTML version deleted]]
2005 Jun 10
1
Problems with corARMA
...t = TRUE) : "Form" argument must be a formula I have used this same form argument with differerent correlation structures and it has worked fine. Does anyone know why it won't recognise ~year | id2 (or even ~ 1 | id2) as a formula? Any help would be great Pam -- Pamela A McCaskie BSc(Mathematical Sciences)(Hons) Western Australian Institute for Medical Research University of Western Australia SCGH Campus Ground Floor, B Block QE-II Medical Centre Hospital Avenue, Nedlands Western Australia 6009 AUSTRALIA Email: pmccask at cyllene.uwa.edu.au Phone: +61-8-9346...
2005 Jan 05
1
subsetting within a function using lme
...llowing error: Error in switch(mode(object), name = , numeric = , call = object, character = as.name(object), : [[ cannot be of mode logical I'm not sure why. Can anyone help me with this? kind regards Pam On Thu, 30 Dec 2004, Thomas Lumley wrote: > On Thu, 30 Dec 2004, Pamela McCaskie wrote: > > And so my attempt to wrap a simple function around this looks like: > > test.fun <- function(formula, mydata, sub=NULL){ > > subs <- with(mydata, eval(sub)) > > fit.glm <- glm(formula=formula, data=mydata, family=binomial, subset=subs) > > return...
2004 Dec 30
1
subsetting within a function
...on(SEX==0)) I get: Error in "[.data.frame"(structure(list(N_ASTHMA = as.integer(c(0, 0, 0, : invalid subscript type I'm guessing that it's looking in the global environment for subs, but I'm not sure how to fix this. Any help would be greatly appreciated. -- Pamela A McCaskie BSc(Mathematical Sciences)(Hons) Western Australian Institute for Medical Research University of Western Australia SCGH Campus Ground Floor, B Block QE-II Medical Centre Hospital Avenue, Nedlands Western Australia 6009 AUSTRALIA Email: pmccask at cyllene.uwa.edu.au Phone: +61-8-9346...
2006 Aug 31
3
predict.lm within a function
...testdata, predict_variable="SNP1_add") I get: Error in sort(unique.default(x), na.last = TRUE) : 'x' must be atomic I figure I should be using eval() or substitute() somewhere to but none of my attempts have been successful. Any help would be appreciated. -- Pamela A McCaskie BSc(Mathematical Sciences)(Hons) Laboratory for Genetic Epidemiology Western Australian Institute for Medical Research University of Western Australia Ground Floor, B Block Hospital Avenue, Nedlands Western Australia 6009 AUSTRALIA Email: pmccask at cyllene.uwa.edu.au Phone: +61 (0)...