qqline connects the first and third quartiles. How do I draw a line between different quantiles (ie 30% and 70%)?

前端 未结 3 838
南笙
南笙 2021-01-20 14:14

I have a qqnorm plot of a data set with 1000+ points. I want to draw a line between two quantiles at a time (say 30% and 70%) just as qqline does with 25% and 75%, but with

3条回答
  •  终归单人心
    2021-01-20 15:15

    Make a new function by copying the code and changing the second line to:

    x <- qnorm(c(0.30, 0.70))
    

提交回复
热议问题