# Holcombe:ProgrammingInR

(Difference between revisions)
 Revision as of 01:15, 11 March 2009 (view source) (→doing ANOVAs etc)← Previous diff Revision as of 03:06, 12 March 2009 (view source) (→doing ANOVAs etc)Next diff → Line 23: Line 23: I think I had [http://tolstoy.newcastle.edu.au/R/help/04/08/2136.html too many error terms] I think I had [http://tolstoy.newcastle.edu.au/R/help/04/08/2136.html too many error terms] + [http://books.google.com.au/books?id=ptbcCBSWvvQC&pg=PA359&lpg=PA359&dq=ANOVA+within-subjects++pooled+error+term&source=bl&ots=73eFDsaw8l&sig=ReTGWRjNFGnYQ4DF-D6qAE9qJgQ&hl=en&ei=cKu4Sd7CPIr2sAPSw4Q8&sa=X&oi=book_result&resnum=8&ct=result reducing error terms] ==Dealing with circular data== ==Dealing with circular data==

## Revision as of 03:06, 12 March 2009

### Members

Alex Holcombe
Polly Barr
• Charlie Ludowici
• Kim Ransley
• Ingrid Van Tongeren
William Ngiam
Fahed Jbarah
• Patrick Goodbourn
Alumni

### Other

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.

There is a wiki with some good tips here.

Examining your data matrix or object, let's say it's called 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

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