Professional Documents
Culture Documents
Lab 1a September 2118
Lab 1a September 2118
Lab 1a September 2118
The data that appeared running was a chart of people and information based on a survey
• Who is the information about?
The information collected was their gender, age, race and more. Based upon personally information.
The observations are represented by being organized and labeling everything by rows and
columns.
• What does the first column tell us about our observations?
First Steps
Syntax matters
• Run the following commands and write down what happens after each. Which
does R understand?
The first two commands reports as “ERROR”. Once i typed in the third command all
31 information appears. Once i typed in the last command “ERROR” appeared
again.
Syntax in action
• Which one of these plots would be useful for answering the question: Is it
unusual for students in the CDC dataset to be taller than 1.8 meters?
Histogram(-height,data=cdc)would be useful
• Do you think it's unusual for students in the data to be taller than 1.8 meters?
People who are doing projects can use this data to see how many different
race,genders and ages are in high school.
• Write the code to visualize the distribution of weights of the students in the
students wore a helmet while bike riding. About how many students never wore
a helmet?
The code could be “ helmet(cdc) “