Holcombe:ProgrammingInR
From OpenWetWare
(→doing ANOVAs etc) 

Line 7:  Line 7:  
[http://www.rpad.org/Rpad/Rrefcard.pdf R reference cheatsheet], also  [http://www.rpad.org/Rpad/Rrefcard.pdf R reference cheatsheet], also  
a file here [[Media:Matlabpythonxref.pdf]] that gives equivalent code for doing array operations in MATLAB, Python, and R  a file here [[Media:Matlabpythonxref.pdf]] that gives equivalent code for doing array operations in MATLAB, Python, and R  
+  [http://www.statmethods.net/advgraphs/axes.html plot parameters]  
In the lab we have the book ''Using R for Introductory Statistics''.  In the lab we have the book ''Using R for Introductory Statistics''. 
Revision as of 05:16, 14 March 2009
Members• Alex Holcombe 
Projects• Testing Booth Calendar 

Technical• Skills Checklist 
Other• Plots,Graphs

R is a programming language for statistics. However it may have menudriven versions maybe available R commander we haven't tried that and another one is pmg GTK maybe here
R_Statistics introduces you to R
R reference cheatsheet, also a file here Media:Matlabpythonxref.pdf that gives equivalent code for doing array operations in MATLAB, Python, and R plot parameters
In the lab we have the book Using R for Introductory Statistics.
There is a wiki with some good tips here.
Examining your data matrix or object, let's say it's called datos
head(datos) str(datos)
Don't use the function attach. It seems to leave lots of data in the 'environment' that can cause problems later. Also it makes the code harder to understand.
doing ANOVAs etc
R will assume factor is regressor if numeric
I think I had too many error terms reducing error terms
Dealing with circular data
von Mises vs. wrapped Gaussian,
see Swindale, N. V. (1998). Orientation tuning curves: empirical description and estimation of parameters. Biol Cybern, 78(1), 4556.