11.07.2015 Views

Introductory Slides for R - Statistics

Introductory Slides for R - Statistics

Introductory Slides for R - Statistics

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Functions of Vectors> mean(y) # mean is a system function, called with parentheses[1] 3 # typing mean without (..) would display the function body> median(x)[1] 3> sum(x)[1] 15> var(x)[1] 2.5> sort(y)[1] 1 2 3 4 513

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

Saved successfully!

Ooh no, something went wrong!