plot of an empirical cumulative distribution function (was Percentile plot)

前端 未结 2 1444
伪装坚强ぢ
伪装坚强ぢ 2020-12-19 19:16

How can I generate a plot like the following in R.

\"enter

It shows the perce

2条回答
  •  情歌与酒
    2020-12-19 19:32

    y <- c(rnorm(8000, 300, 10), rnorm(400, 500, 300) )

    t2 <- quantile(y, probs = seq(0, 99.99, by=.1)/100)

    plot(t2, xlab="promille ", ylab="time (ms)",pch=20)

    gives me:

    enter image description here

    whit my dataset

    enter image description here

提交回复
热议问题