Introductory Slides for R - Statistics
Introductory Slides for R - Statistics
Introductory Slides for R - Statistics
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Getting Data into R from ExcelGetting data from an Excel spreadsheet: The block of data should be a rectangulararray, consisting of adjacent and equal length columns of numbers, logicalor character data. The first row of that array may contain the names of the variablesrepresented by the columns.1) save the data block from Excel as a single sheet in (DOS) csv <strong>for</strong>matto a file with name dat.csv, <strong>for</strong> example.2) import this data into R via: data.set.name