Lect3DataInR(2).Rmd - title" author"LouisLuangkesorn...

Info icon This preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
---  title: "Data structures and visualization"  author: "Louis Luangkesorn"  date: "January 2018"  output:   pdf_document: default   slidy_presentation: default  ---  Data structures  ========================================================  Features of R  =============  -  an effective data handling and storage facility,  -  a suite of operators for calculations on arrays, in particular matrices,  -  a large, coherent, integrated collection of intermediate tools for data analysis,  -  graphical facilities for data analysis and display either  directly at the computer or on hardcopy, and  -  a well developed, simple and effective programming language  (called ) which includes conditionals, loops, user defined  recursive functions and input and output facilities.  Working with R  ==============  - R is an computational environment and a programming language.  - The benefit of a programming language is that analysis is  reproducable, just change the data set.  - The benefit of a computational environment is that you can  inspect the options you have available while you are performing  the analysis.  Getting help  ============  -  R-Studio help is typically in the lower left.   -  Manuals (An Introduction to R)   -  Installed packages   -  Search capability  -  Type `help(function)` in the Console 
Image of page 1

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

View Full Document Right Arrow Icon
```{r, echo=TRUE}  help(solve)  ```  Data  =============  type: section  Working with data   =================  -  R generally uses dynamic typing, you do not declare your  variables.  -  A variable can have text, integers, or numbers.  -  Typing in a variable name gives the contents of the variable  (also available in the `Environment` window in the upper right of R Studio)  -  Typing in a function name with no parenthesis shows the source code of the function.  Vectors  ======= 
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern