Hello,
I am trying to produce some graphics to visualize my data. I think I want
histograms. I have a grouping variable that has 48 different groups. I would
like to produce a graphic that contains three of of these groups in the same
device (they are time steps).  I would like create graphics for about 6
different variables (6 variables X 16 groupings of there = 96 graphics). I
am unsure of how to tell R which of three groups to use from the grouping
variable (its values are numeric) and then how to put all three to the same
device.

I tried:

> names(all)
 [1] "tally"        "scape"        "numid"        "bbContag"
"bbED"
 [6] "bbENN_MN"     "bbLPI"        "bbLSI"        "bbPAFRAC"
"bbPD"
[11] "bbPROX_MN"    "pfor"         "year"         "extent"
"bi_ca"
[16] "r"            "ex_bin"       "PriNo"        "pri1234"
"pri_ex"
[21] "sc_ex"        "Sc_ex_pri"    "sc_recov"     "recov_bica"
"sc_reco_bica"
[26] "sc_ec_p1234"  "Pri_No"       "id_no"        "RecovUnit"
"Max_est"
[31] "F23"          "F24"          "F25"          "F26"
"F27"
[36] "F28"          "F29"
> histogram(~ sc_recov | bbPD, type="count")

This opened a device, but nothing was there, probably because I made R angry
because I think it was using all the rows ~5,000. I then tried using a
barplot, which worked but it was also a lot dense and not what I was looking
for visually. I'd appreciate any comments about these multiple questions,
including helpful 'read the manual' suggestions.

Thank you kindly,
M Just

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to