nwew <[EMAIL PROTECTED]> wrote:
> Dear R helpers,

> I generate a qq plot using the following function call.

...

> dim(xx)
> [1] 680237      2

How about doing something like this:

fn <- function(n,cut=0.001,m=1000)
{
    p <- ppoints(n)
    p <- p[pmin(p, 1-p) < cut]
    q <- pt(seq(qt(cut,df=19),qt(1-cut,df=19),length=m),df=19)
    sort(c(p,q))
}

then adding 'f.value=fn' to your qqmath arguments?  This essentially
says, plot the individual data points in the extreme tails of the
distribution (p < 0.001 or p > 0.999), and evaluate the distribution
at a sparse set of points in between, where the density means you
can't discern the individual values anyway.

-- Dave

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to