10.07.2015 Views

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

Using R for Introductory Statistics : John Verzani

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Simulation 177This function will do the simulation and make the plot:simpi n = 1000; x = runif(n,−1,1);y =runif(n,−1,1);sum(x~2+y^2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!