[R] HISTOGRAM

Medic m@iliP@dpo@t @ending from gm@il@com
Fri Nov 9 19:45:10 CET 2018


What would be the correct code (simplest version) (without gplot())
for histogram (with 7 bars), which would include 7 names of bars under
the X-axis. The data are:

name number
ds    6277
lk     24375
ax    46049
dd    70656
az    216544
df     220620
gh    641827

(I'm attaching mydata.r, making with dput.)

My attempt is:

options(scipen=999)
with (mydata, hist(number))

P.S. I can't understand how the column "name" to include in a code


More information about the R-help mailing list