[R] qqmath - Lattice error

Deepayan Sarkar deepayan.sarkar at gmail.com
Thu May 25 23:42:28 CEST 2006


On 5/25/06, Witold Wolski <wewolski at gmail.com> wrote:
> Hi,
>
> Don't have a clue what teh following error message

What's the error message?

In any case, you seem to have wrong expectations about what
panel.qqmath does, and in particular what arguments it accepts (this
changed a few versions back). See help(panel.qqmath).

Deepayan

> generated by this function call:
> qqmath( ~val|ind,data = xx
>        ,distribution = function(p){ qt(p,df=20)}
>        ,ylab="Sample Quatinles"
>        ,xlab="Theoretical Quantiles"
>
>        ,panel=function(x,y)
>        {
>          panel.qqmathline(y
>                           , distribution=function(p) qt(p,df=20)
>                           ,col=2)
>          panel.qqmath(x, y
>                       , distribution=function(p) qt(p,df=20)
>                       ,pch=".",cex=2)
>        }
> )
>
> means. Espacially that this function call
>
> qqmath( ~val|ind,data = xx
>        ,distribution = function(p){ qt(p,df=20)}
>        ,ylab="Sample Quatinles"
>        ,xlab="Theoretical Quantiles"
> )
>
> with the same data is working.



More information about the R-help mailing list