Data analysis with R Programming Flashcards
What you have learnt so far?
-Use structured thinking to define a problem and ask the right questions.
- Work with spreadsheets, databases, and tools like SQL to organize and transform data.
-Clean your data to make sure it has integrity before you analyze it.
- Create impactful data visualizations to illustrate key points.
- Craft a compelling story to communicate insights to stakeholders.
Computer programming
Giving instructions to a computer to perform an action or set of instructions.
What you will learn?
- Introduction to programming languages.
- Explore main features and functions.
- Basic programming concepts in R.
- How to work with data in R.
- Clean, transform, visualize, report data in R.
R Programing language
Used for statistical analysis, visualization, and other data analysis.
Programming Languages
- The words and symbols we use to write instructions for computers to follow.
Coding
- is writing instructions to the computer in the syntax of a specific programming language.
Programming languages
-R
- Python
- JavaScript
- SAS
-Scala
-Julia
Benefits of using programming languages
- Clarify the steps of your analysis.
- Saves time.
- Reproduce and share your work.
R
A programming language frequently used for statistical analysis, visualization, and other data analysis.
Open Source
Code that is freely available and may be modified and shared by the people who use it.
R Benefits
- Accessible
- Data-centric
- Open source
- Community
Uses of R
- Reproducing your analysis
- Processing lots of data
- Creating data visualizations
Integrated Development Environment (IDE)
A software application that brings together all the tools you may want to use in a single place.
R code known as pipe
Helps make a sequence of code easier to work with and read.
The Basic concepts of R
- Functions
-Comments - Variables
- Data types
- Vectors
-Pipes
Functions (R)
A body of reusable code to perform specific tasks in R.
Argument (R)
Information that a function in R needs in order to run.
Variable (R)
A representation of a value in R that can be stored for use later during programming.
Vector (R)
A group of data elements of the same type stored in a sequence in R.
Pipe(R)
A tool in R for expressing a sequence of multiple operations, represented with “%>%.
Pipe (R) example
Tooth Growth %>%
filter(dose==0.5)%>%
arrange(Len)
Data Structure
Data structure is a format for organizing and storing data.
Types of atomic vectors
-Logical
-Double
-integer
-Character
Logical Vector
True/False