Assignment7

Assignment7 - Assignment 7 (Due Monday, April 25, 2011) 1....

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Assignment 7 (Due Monday, April 25, 2011) 1. Read the dataset students.txt into an R object named as students. (a) What are the mean and standard deviation of height and shoesize? (b) How many female students and how many male students? (c) Recode the population variable with color names (Kuopio=blue Tam- pepre=red), and create a new dataset called studentsnew . (Do not use edit().) (d) Make two subsets of the dataset students. Split it in two according to gender. (e) Make two new datasets of the dataset students that containing individuals below and above the median height. (f) Export the two new datasets in part 5 to belowm.txt and abovem.txt files. 2. Read in the dataset cars.txt and answer the following questions: (a) Make a barplot of both frequencies and proportions on Type as well as the Pie Charts. Plot the Stem-and-leaf Charts on Length . Also draw the histograms with 6 breaks and Boxplot on Length . Name the title of the barplot, pie chart and box plot. Name the x-lab and y-lab of thethe barplot, pie chart and box plot....
View Full Document

Page1 / 4

Assignment7 - Assignment 7 (Due Monday, April 25, 2011) 1....

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online