Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

names

names <- c("Sean", "Brad", "Tony", "Jenny", "Ngoc", "Benny", "Jung-Su", "Mark", "Cameron", "Emily", "Tasha", "Soo-Jin", "Justin", "Craig", "Emma") height <- c(70,72,70,63,61,73,69,71,67,70, 62,64,72,77,68) GPA <- c(2.74,3.98,3.6,4,3.6,3.15,3.87,2.99,3.9, 3.59,3.9,3.94,3.8,4,3.9) major <- c("bio", "bio", "bio","bio","bio","bio","bio", "bio","bio","bio", "chem","chem","chem", "phys", "math")

1) After running all these data vectors, do the names of each vector (names, height, GPA and major) appear in the Environment under the header Values?

2) What is the average height of students in the data set, in centimeters? Round your answer to 2 decimal places. Recall to find the mean of the new variable height.cm, you can run

mean(height.cm)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions