Discussion 02 - Objects

Discussion 02 - Objects - Masanao Yajima TA: Masanao Yajima...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Masanao Yajima
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
TA: Masanao Yajima Affiliation: Statistics Department Program: PhD Email: yajima@ucla.edu Office hour: Thursday 10-11am Boelter 9434 Warning: I don’t read email after 6pm Grading is done by the reader so I can not help you with the grade issue.
Background image of page 2
Give you intuition on R objects Ideas are abstract but I will try to ground it in some things that’s more easier to grasp So I am risking accuracy Part1: everything is variable and functions Variable Function Part2: Sub-setting, the key to understanding R Part3: Function definition is just a function
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Variable is a box You put things in a box You look at what’s in a box There are few types of boxes as you saw in the class this week Vector Array Matrix List In R, what type a variable is or what size of a variable should be is implicitly defined.
Background image of page 4
Function is similar to sausage making machine You set the buttons, put some meat in and
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/14/2011 for the course STATS 102A 102A taught by Professor Jandeleeuw during the Fall '10 term at UCLA.

Page1 / 15

Discussion 02 - Objects - Masanao Yajima TA: Masanao Yajima...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online