[R] hist failed with unused arguments

Martin Maechler maechler at stat.math.ethz.ch
Mon May 27 18:31:33 CEST 2002


>>>>> "dgroth" == dgroth at gmx de <dgroth at gmx.de> writes:

    dgroth> Hello, I urgently need a histogram of the vector
    dgroth> geo1$ds1 but:

    >> hist(geo1$ds1)
    dgroth> Error in hist(geo1$ds1) : unused argument(s) ( ...)

quite wierd.

Try  
     traceback()
immediately after the error 
and also 
  
  str(geo1$ds1)

{or  str(geo1)  for that matter}


    dgroth> I can use density, summary, boxplot and stem with
    dgroth> this vector but not hist ?

    dgroth> Any suggestions ?

    dgroth> Thanks in advance,

    dgroth> Detlef Groth
    >> density(geo1$ds1)

    dgroth> Call: density(x = geo1$ds1)

    dgroth> Data: geo1$ds1 (1412 obs.); Bandwidth 'bw' = 0.2805

    dgroth>        x y Min.  :-0.8415 Min.  :1.133e-05 1st Qu.:
    dgroth> 1.1545 1st Qu.:1.264e-02 Median : 3.1505 Median
    dgroth> :9.428e-02 Mean : 3.1505 Mean :1.251e-01 3rd Qu.:
    dgroth> 5.1465 3rd Qu.:2.057e-01 Max.  : 7.1425 Max.
    dgroth> :4.091e-01
    >> summary(geo1$ds1)
    dgroth>    Min. 1st Qu.  Median Mean 3rd Qu.  Max.  0.000
    dgroth> 2.062 3.370 2.947 3.920 6.301

....

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list