Hi,

Sorrry, I have forgotten to paste the error message:
Here it is:

> qqmath( ~val|ind,data = xx
+        ,distribution = function(p){ qt(p,df=20)}
+        ,ylab="Sample Quatinles"
+        ,xlab="Theoretical Quantiles"
+ #       ,aspect=1
+ #       ,prepanel = prepanel.qqmathline
+
+        ,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)
+        }
+ )
Error in panel(x = c(0.637018600046204, -0.0237681209798937, -
1.13188488395317,  :
        unused argument(s) (NA ...)

As already mentioned the same dataset works fine with the short version of
the function call.
And this is how the data looks like.
class(xx)
[1] "data.frame"
> xx[1:10,]
       ind         val
1  500-530  0.63701860
2  500-530 -0.02376812
3  500-530 -1.13188488
4  500-530  0.41095693
5  500-530 -1.02142435
6  500-530 -1.02142435
7  500-530  0.04185616
8  500-530 -1.29129448
9  500-530  1.17680295
10 500-530 -0.61137387

The first column are the levels. Even with this trunkated dataset the error
occurs.

Eryk

On 5/25/06, Deepayan Sarkar <[EMAIL PROTECTED]> wrote:
>
> On 5/25/06, Witold Wolski <[EMAIL PROTECTED]> 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.
>

        [[alternative HTML version deleted]]

______________________________________________
[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