Holcombe:ProgrammingInR

From OpenWetWare
Revision as of 01:57, 31 August 2008 by Alex O. Holcombe (talk | contribs)
Jump to navigationJump to search

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_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.