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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> "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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> > 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 ?I tried ls() and rm(hist) and now it works ...> ls()[1] "chr" "chr1f" "chr2f" "datfile" [5] "first" "g" "geo1" "hist" [9] "islands" "last.warning" "op" "plot" [13] "second"> class(hist)NULL after rm(hist) everything was ok, seems that after a miswritten command a object "hist" was created. Thank you very much all, Detlef> > > 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 ?-- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._