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...

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

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

Your Turn• x = (4 1 3 9)T• y = (1 2 3 5)T(from examples, on previous slide)• d = √∑(x - y) 2• 2(y 1 + x 2 )• z = (1, ..., 100)T• (∑ z i) 2 - ∑(zi 2 )•pattern = (1, 7, 7, 13, 13, 13, 19, 19, 19, 19, 25, 25, 25,25, 25, 31, 31, 31, 31, 31, 31) T (don’t use c() for this)19Basic Statistical Functions• Using the basic functions we’ve learned itwouldn’t be hard <strong>to</strong> compute basic statistics.• x

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

Saved successfully!

Ooh no, something went wrong!