exhw1 - STAT 4220 Extra Credit HW1 (10 points) Due on Thu,...

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: STAT 4220 Extra Credit HW1 (10 points) Due on Thu, March 4 1. Write an efficient R code that could produce the following figures. (a) Figure 1 Extra credit HW Problem 1 t y o f i s G e r e o v r g i n i a U (b) Figure 2 Extra credit HW Problem 2 of t n e m t S t a t i s r a t p i e c s D 1 > > > > > > > > > > > > > > > > library(Hmisc) x = "University of Georgia" w = unlist(strsplit(x, ".")) m = length(w) ... for (i in 1:m) { ... ... ... substring2(x, i, i); ... ... zx[i] = qnorm(i/(m+1)); ... ... } xx = zx # the locations yy = dnorm(zx) # the heights 2 ...
View Full Document

This note was uploaded on 06/06/2011 for the course STAT 4220 taught by Professor Smith during the Spring '08 term at UGA.

Page1 / 2

exhw1 - STAT 4220 Extra Credit HW1 (10 points) Due on Thu,...

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