search for: deriso

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

Did you mean: derio
2010 Jan 09
2
aov function syntax
...In the second example 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 #Example 1 ---------------------------COPY & PASTE THE FOLLOWING #import the data allDataSource="http://files.davidderiso.com/r/allData.data" allData.import=read.table(allDataSource,header=T) studentDataSource="http://files.davidderiso.com/r/allData.data"...
2010 Feb 08
1
Help with assigning values to a row or column
...rse(substitute(input)) assign(inputName[1,], 4, envir = .GlobalEnv) } #this will give you the error testFunction(testMatrix) 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]]
2009 Jul 16
1
Calculate Timeseries Interval
...p[i,3],8:10)<1)])} #attempts to intelligently subtract intervals for (i in 1:200){if(as.numeric(k[(i+1)])>as.numeric(k[(i)])){k2[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]]
2010 May 20
1
Mixed Effects Model on Within-Subjects Design
...75 p_value = .... condition3:diff25 vs. condition1:diff50 p_value = .... condition3:diff25 vs. condition1:diff75 p_value = .... condition3:diff50 vs. condition1:diff75 p_value = .... condition*diff p_value = .... Here is my code: #get the data study.data =read.csv("http://files.davidderiso.com/example_data.csv", header=T) attach(study.data) subject = factor(subject) condition = factor(condition) diff = factor(diff) rep = factor(rep) #visualize whats happening interaction.plot(diff, condition, value, ylim=c(240000, 450000),ylab="value", xlab="difficulty", tra...
2010 May 20
2
Deleting a file on a drive from within R
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 delete that Excel file from the drive. Can I do that from within R, please? Thank you for help! Regards, Sergey