19.08.2015 Views

1 - Intro to R Outline

1 - Intro to R Outline

1 - Intro to R Outline

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Examine Object• Dimension of an objectdim(tips)> dim(tips)[1] 244 8the tips data set has 244 rows(tables served) and 8 columns(variables recorded)31Examine Object• Dimension of an objectsummary(tips)> summary(tips)obs <strong>to</strong>tbill tip sex smokerMin. : 1.00 Min. : 3.07 Min. : 1.000 F: 87 No :1511st Qu.: 61.75 1st Qu.:13.35 1st Qu.: 2.000 M:157 Yes: 93Median :122.50 Median :17.80 Median : 2.900Mean :122.50 Mean :19.79 Mean : 2.9983rd Qu.:183.25 3rd Qu.:24.13 3rd Qu.: 3.562Max. :244.00 Max. :50.81 Max. :10.000day time sizeFri:19 Day : 68 Min. :1.000Sat:87 Night:176 1st Qu.:2.000Sun:76 Median :2.000Thu:62 Mean :2.5703rd Qu.:3.000Max. :6.00032

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!