Holcombe:ProgrammingInR: Difference between revisions

From OpenWetWare
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{Template:Holcombe}}
{{Template:Holcombe}}
R is a programming language for statistics. However it may have menu-driven versions maybe available
[http://socserv.mcmaster.ca/jfox/Misc/Rcmdr/ R commander] we haven't tried that and another one is pmg GTK [http://www.ggobi.org/rgtk2 maybe here]
[[R_Statistics]] introduces you to R
[[R_Statistics]] introduces you to R



Revision as of 00:25, 30 September 2008

Recent members

Alex Holcombe
• Ryo Nakayama



Technical

Skills Checklist
Python Programming
Psychopy/VisionEgg Installation Notes
R analysis,plot,stats
Statistics
Buttonbox
Buttonbox with photocell
Programming Cheat Sheets


R is a programming language for statistics. However it may have menu-driven 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:Matlab-python-xref.pdf‎ that gives equivalent code for doing array operations in MATLAB, Python, and R

In the lab we have the book Using R for Introductory Statistics.

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.

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), 45-56.