Getting Started with R
Revision as of 11:59, 17 September 2013 by PeterHarding (talk | contribs) (Created page with "=Some Commands= <pre> read.table(filename,header=TRUE) # Read tab or space delimited file with a header read.table(filename,header=TRUE,sep=',') # Read csv files ...")
Some Commands
read.table(filename,header=TRUE) # Read tab or space delimited file with a header read.table(filename,header=TRUE,sep=',') # Read csv files with a header v1 <- c(1,2,3,4,5,6,7) # Create a vector from these values v2 <- c(1:10) # Create a vector from 1 to 10 browse.workspace