[R] hist failed with unused arguments

dgroth@gmx.de dgroth at gmx.de
Mon May 27 17:33:51 CEST 2002


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

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

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

Any suggestions ?

Thanks in advance,

Detlef Groth
> density(geo1$ds1)

Call:
        density(x = geo1$ds1)

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

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

  The decimal point is at the |

  0 | 00000000000000000000000000000000000000000000000000000000000000000000+49
  0 | 555566667778888999999
  1 | 01112222223333333334444444
  1 | 55555555555555666666666666666666667777777777777777777777777777777888+64
  2 | 00000000000000000000000000000001111111111111111111111111111111222222+83
  2 | 55555555555555555555666666666666666666666666666666666677777777778888+27
  3 | 00000000000000000111111111111111111111111222222222222222222222222222+72
  3 | 55555555555555555555555555555555555555555555555555555555555555566666+249
  4 | 00000000000000000000000000000000000000000000000000000001111111111111+138
  4 | 55555555555555555555555555555555556666666666666666677777777777788888+21
  5 | 0000000000000111112
  5 | 58
  6 | 3

-- 
Dr. Detlef Groth
Max-Planck-Institut
fuer Molekulare Genetik
Ihnestr. 63/73
D-14195 Berlin
Tel.: + 49 30 - 8413 1235
Email: dgroth at molgen.mpg.de
Email: dgroth at gmx.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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