[R] xyplot() groups scope issue

2007-08-30 Thread Mike Lawrence
a simpler solution. Mike -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less

Re: [R] logistic regression

2007-07-26 Thread Mike Lawrence
, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less

Re: [R] using R for a reaction-time experiment

2007-07-23 Thread Mike Lawrence
read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore

Re: [R] (R) Using arguments for the empirical cumulative distribution function

2007-07-20 Thread Mike Lawrence
code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less

[R] linear interpolation of multiple random time series

2007-07-19 Thread Mike Lawrence
Hi all, Looking for tips on how I might more optimally solve this. I have time series data (samples from a force sensor) that are not guaranteed to be sampled at the same time values across trials. ex. trial timex 1 1 1 1 5 4 1 7 9 1 12 20

Re: [R] linear interpolation of multiple random time series

2007-07-19 Thread Mike Lawrence
Jim Holtman's solution works great, and will try the zoo method just for fun as well. Thanks to all of you :) Mike -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public

Re: [R] How to read many files at one time?

2007-07-14 Thread Mike Lawrence
On 14-Jul-07, at 6:16 PM, Zhang Jian wrote: I want to load many files in the R. The names of the files are Sim1.txt, Sim2.txt, Sim3.txt, Sim4.txt, Sim5.txt and so on. Can I read them at one time? What should I do? I can give the same names in R. Thanks. For example:

[R] Power calculation with measurement error

2007-06-26 Thread Mike Lawrence
) will have lower power. Mike -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less

Re: [R] connecting to running process possible?

2007-06-26 Thread Mike Lawrence
-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less

Re: [R] surprising difference in log()

2007-06-26 Thread Mike Lawrence
, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err

Re: [R] Power calculation with measurement error

2007-06-26 Thread Mike Lawrence
Intermountain Healthcare [EMAIL PROTECTED] (801) 408-8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Lawrence Sent: Tuesday, June 26, 2007 5:13 AM To: Rhelp Subject: [R] Power calculation with measurement error Hi all, Hopefully

Re: [R] surprising difference in log()

2007-06-26 Thread Mike Lawrence
Sorry, my mistake. I should really leave looking at the help list until AFTER my morning coffee :P On 26-Jun-07, at 11:31 AM, Duncan Murdoch wrote: On 6/26/2007 10:20 AM, Mike Lawrence wrote: According to the description of floor(), the latter result is the correct one: 'floor takes

Re: [R] Power calculation with measurement error

2007-06-26 Thread Mike Lawrence
On 26-Jun-07, at 8:12 AM, Mike Lawrence wrote: Hi all, Hopefully this will be quick, I'm looking for pointers to packages/ functions that would allow me to calculate the power of a t.test when the DV has measurement error. That is, I understand that, ceteris paribus, experiments using measure

Re: [R] Power calculation with measurement error

2007-06-26 Thread Mike Lawrence
On 26-Jun-07, at 2:36 PM, Mike Lawrence wrote: On 26-Jun-07, at 8:12 AM, Mike Lawrence wrote: Hi all, Hopefully this will be quick, I'm looking for pointers to packages/ functions that would allow me to calculate the power of a t.test when the DV has measurement error. That is, I understand

Re: [R] how to create cumulative histogram from two independent variables?

2007-06-21 Thread Mike Lawrence
code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://memetic.ca Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less

[R] Fwd: How to set degrees of freedom in cor.test?

2007-06-16 Thread Mike Lawrence
/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993

Re: [R] question about formula for lm

2007-06-16 Thread Mike Lawrence
. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence

Re: [R] simultaneous computing

2007-06-11 Thread Mike Lawrence
Epidemiologie __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike

Re: [R] Aggregate to find majority level of a factor

2007-05-31 Thread Mike Lawrence
-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993 Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well

Re: [R] test to compare significant correlation increase

2007-05-30 Thread Mike Lawrence
@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie

Re: [R] opinions please: text editors and reporting/Sweave?

2007-05-30 Thread Mike Lawrence
://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993 Public calendar: http://icalx.com/public/informavore/Public The road

Re: [R] polygon error?

2007-05-26 Thread Mike Lawrence
, reproducible code. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993 Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less

Re: [R] Calculation of ratio distribution properties

2007-05-25 Thread Mike Lawrence
MathCad code failed to attach last time. Here it is. On 25-May-07, at 2:24 PM, Mike Lawrence wrote: I came across this reference: http://www.informaworld.com/smpp/content? content=10.1080/03610920600683689 The authors sent me code (attached with permission) in MathCad to perform

Re: [R] Calculation of ratio distribution properties

2007-05-25 Thread Mike Lawrence
. Hinkley, Biometrika, Vol. 56, No. 3. (Dec., 1969), pp. 635-639. -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993 Public calendar: http://icalx.com/public/informavore/Public The road to wisdom? Well, it's plain and simple

[R] Calculation of ratio distribution properties

2007-05-24 Thread Mike Lawrence
) that this calculation is quite involved, so I'm hoping that someone has already coded a function to achieve this. Thanks, Mike -- Mike Lawrence Graduate Student, Department of Psychology, Dalhousie University Website: http://myweb.dal.ca/mc973993 Public calendar: http://icalx.com/public

Re: [R] Catenating factors.

2007-05-23 Thread Mike Lawrence
/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Dalhousie University Department of Psychology http://myweb.dal.ca/mc973993 The road to wisdom? Well

Re: [R] Parallel processes

2007-05-22 Thread Mike Lawrence
mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Dalhousie University Department of Psychology http

Re: [R] sequentially process a list

2007-05-21 Thread Mike Lawrence
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting- guide.html and provide commented, minimal, self-contained, reproducible code. -- Mike Lawrence Graduate Student, Dalhousie University Department of Psychology http://myweb.dal.ca/mc973993

Re: [R] sequentially process a list

2007-05-21 Thread Mike Lawrence
Sorry, obviously misread your help request. Jim's solution is what you're looking for. On 21-May-07, at 12:56 PM, Mike Lawrence wrote: Try nested ifelse() statements to label the group ex. time$group=ifelse(time$time5,NA, ifelse(time$time9,1, ifelse(time$time13,NA

[R] How does glm(family='binomial') deal with perfect sucess?

2007-03-20 Thread Mike Lawrence
-- Mike Lawrence http://artsweb.uwaterloo.ca/~m4lawren The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less. - Piet Hein __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] How to calculate area between ECDF and CDF?

2006-12-04 Thread Mike Lawrence
higher than the cdf diff=ecdf.area-cdf.area #but how to calculate when the functions cross? Cheers, Mike -- Mike Lawrence http://artsweb.uwaterloo.ca/~m4lawren The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less. - Piet Hein

[R] nnet() fit criteria

2006-12-03 Thread Mike Lawrence
-- Mike Lawrence http://artsweb.uwaterloo.ca/~m4lawren The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less. - Piet Hein __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] Translating R code + library into Fortran?

2006-09-11 Thread Mike Lawrence
(group.shape.err[1:162] results -- Mike Lawrence http://arts.uwaterloo.ca/~m4lawren The road to wisdom? Well, it's plain and simple to express: Err and err and err again, but less and less and less. - Piet Hein __ R-help@stat.math.ethz.ch mailing list https

[R] error bars in lattice xyplot *with groups*

2006-06-05 Thread Mike Lawrence
, groups=range, data=singer.ucl, ly = singer.ucl$lower, uy = singer.ucl$upper, prepanel = prepanel.ci, panel = panel.ci, type=b ) Any suggestions? -- Mike Lawrence [EMAIL PROTECTED] The road to Wisdom

Re: [R] Save output

2005-10-03 Thread Mike Lawrence
/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Mike Lawrence, BA(Hons) Research Assistant to Dr. Gail Eskes Dalhousie University QEII Health Sciences Centre (Psychiatry) [EMAIL PROTECTED] The road to Wisdom? Well, it's plain and simple to express

[R] What is Mandel's (Fitting) Test?

2005-10-02 Thread Mike Lawrence
it sound appropriate for my purposes (if not, how about the other tests suggested above)? How does it differ from the Lack-of-Fit test? Any help would be greatly appreciated. Cheers, Mike -- Mike Lawrence, BA(Hons) Research Assistant to Dr. Gail Eskes Dalhousie University QEII Health Sciences

Re: [R] xyplot auto.key issue

2005-07-31 Thread Mike Lawrence
[EMAIL PROTECTED]: On 7/30/05, Mike Lawrence [EMAIL PROTECTED] wrote: Quick correction: The lines lines = T, type = b in the par.settings section should not be there. They are remnants of my previous (failed) attempts at solving the problem. Below is the correct code: xyplot( #basic

Re: [R] xyplot auto.key issue

2005-07-31 Thread Mike Lawrence
= my.key ) Quoting Sundar Dorai-Raj [EMAIL PROTECTED]: Hi, Mike, Mike Lawrence wrote: Hi Deepayan, Thanks for the reply, but when I enter the type = b code into the auto.key (see below) command I get the following message: Error in valid.pch(x$pch) : zero-length 'pch' Any

Re: [R] How do you increase memeory?

2005-07-31 Thread Mike Lawrence
]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html -- Mike Lawrence, BA(Hons) Research Assistant to Dr. Gail Eskes Dalhousie University QEII Health Sciences Centre

[R] xyplot auto.key issue

2005-07-30 Thread Mike Lawrence
, title = Expected Tau, text = c(30 ms, 80 ms, 130 ms, 180 ms, 230 ms), space = right, ) ) -- Mike Lawrence, BA(Hons) Research Assistant to Dr. Gail Eskes Dalhousie University QEII Health Sciences Centre (Psychiatry) [EMAIL PROTECTED

Re: [R] xyplot auto.key issue

2005-07-30 Thread Mike Lawrence
, size = 7, border = T, cex.title = 1.2, title = Expected Tau, text = c(30 ms, 80 ms, 130 ms, 180 ms, 230 ms), space = right, ) ) Quoting Mike Lawrence [EMAIL PROTECTED]: Hi all, I'm having a problem