{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Assignment6 - Assignment#6(Due 1...

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

View Full Document Right Arrow Icon
Assignment #6 (Due: April 15, 2011) 1. The number of O ring failures for the first 23 fights of the US space shuttle Challenger were 0 1 0 NA 0 0 0 0 0 1 1 1 0 0 3 0 0 0 0 0 2 0 1 ( NA means not available, the equipment was lost). Make a table of the possible categories. Find the mean. (You might need to try mean(x,na.rm=TRUE) to avoid the value NA , or look at x[!is.na(x)] .) 2. The built in data set mtcars contains information about cars from a 1974 Motor Trend issue. Load the dataset ( data(mtcars) ) and answer the following questions. a. What are the variable names? (Try names .) b. What is the maximum mpg ? c. Which car has the maximum mpg ? d. What horsepower ( hp ) does the Valiant have? e. What are the first 5 cars listed? f. What are all the values for the Mercedes 450slc ( Merc 450SLC )? 3. You are given the following matrices/vectors:
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
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