0

this is the first example of the ecdf() function in R:

F10 <- ecdf(rnorm(10)
plot(F10)
plot(F10, verticals = TRUE, do.points = FALSE)

plot

Now I would like to "zoom" in the y-axis so that it only shows the interval of 0.9-1.0.

Does anybody know how to accomplish this? Thanks a lot in advance!

Community
  • 1
  • 1
M. Weeker
  • 140
  • 2
  • 10

1 Answers1

0

Thanks to rbm this is the easy solution:

plot(F10, ylim=c(0.90, 1.00))

M. Weeker
  • 140
  • 2
  • 10