Re: [R] Mixed Effects Model on Within-Subjects Design

2010-05-20 Thread Dave Deriso
Thank you so much!! Best, Dave Deriso UCSD Psychology study.lme = lme(value~condition:diff - 1,random=~1|subject) > summary(study.lme) Linear mixed-effects model fit by REML Data: NULL AIC BIClogLik 19354.54 19405.71 -9666.272 Random effects: Formula: ~1 | subject

Re: [R] Deleting a file on a drive from within R

2010-05-20 Thread Dave Deriso
file_to_delete = file.choose() file.remove(file_to_delete) Best, Dave Deriso UCSD Psychology On Thu, May 20, 2010 at 1:46 AM, Sergey Goriatchev wrote: > Hello, > > I have an Excel file on a drive and I extract data from it into R session. > Once I have extracted the data, I want to

Re: [R] Mixed Effects Model on Within-Subjects Design

2010-05-20 Thread Dave Deriso
12828.399 688 1.007109 0.3142 Also, why are diff25 and condition1 missing from the output?? Thanks again for your generous help!!! Best, Dave Deriso On Wed, May 19, 2010 at 10:08 PM, David Atkins wrote: > > Dave-- > > Given that you want all comparisons among all means in your desig

Re: [R] Mixed Effects Model on Within-Subjects Design

2010-05-20 Thread Dave Deriso
12828.399 688 1.007109 0.3142 Also, why are diff25 and condition1 missing from the output?? Thanks again for your generous help!!! Best, Dave Deriso On Wed, May 19, 2010 at 10:08 PM, David Atkins wrote: > > Dave-- > > Given that you want all comparisons among all means in your design,

[R] Mixed Effects Model on Within-Subjects Design

2010-05-19 Thread Dave Deriso
#compute the significance library(nlme) study.lme = lme(value~condition*diff,random=~1|subject/rep) summary(study.lme) Thank you so much for your generous help!!! Best, Dave Deriso UCSD Psychology [[alternative HTML version deleted]] __

Re: [R] Help with assigning values to a row or column

2010-02-08 Thread Dave Deriso
Hello, With a little broader searching, I did find a solution by Fernando Saldanha (http://tolstoy.newcastle.edu.au/R/help/05/04/3559.html): eval(parse(text = paste('testMatrix', '[1,] <- 4', sep = ''))) Thanks anyway!! Best, Dave On Mon, Feb 8, 201

[R] Help with assigning values to a row or column

2010-02-08 Thread Dave Deriso
Matrix) When I try to access "inputName[1,]" instead of "inputName," it fails. Does anyone know how to do this? Thanks in advance!! Best Regards, Dave Deriso Undergraduate Researcher UCSD Psychiatry [[alternative HTML version deleted]] _

Re: [R] aov function syntax

2010-01-09 Thread Dave Deriso
ave messed up your first example: perhaps you meant > > studentDataSource="http://files.davidderiso.com/r/studentData.data"; > > There are no P values in that example because there is no residual > variation: the model fits exactly. > > > On Sat, 9 Jan 2010, Dave Deriso w

Re: [R] aov function syntax

2010-01-09 Thread Dave Deriso
n 9, 2010 at 3:33 AM, Dave Deriso wrote: > Hello, > > I have a simple question about using the aov function syntax (ie. * + or :) > for the interaction of 2 factors. I have read the help files, and researched > other sites, and have included my source files. My goal is to measure th

[R] aov function syntax

2010-01-09 Thread Dave Deriso
I can get the measure the significance of population:condition with 2 different methods, but I get 2 different results (using the "allData" source). Can you please explain why these Pr(>F) values are different? Thank you so much for your help!! Sincerely, Dave Deriso UCSD Psychiatry #Exa

[R] Calculate Timeseries Interval

2009-07-16 Thread Dave Deriso
[i] = rbind(as.numeric(k[(i+1)])-as.numeric(k[(i)]))}else{k2[i] = rbind((1+as.numeric(k[(i+1)]))-as.numeric(k[(i)]))}} Thanks so much for your help!!! Best, Dave Deriso UCSD Psychiatry [[alternative HTML version deleted]] __ R-help@r-project.org mailing