I'm using the sizeplot() function from the plotrix package to plot binomial
data in which there are a number of repeated values.
a portion of my data look like this:
mortality = c(1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1,
0, 0, 1, 0, 0, 1, 0, 1, 0)
ww.max = c(4.0, 5.0, 3.0, 2.0, 2.5, 2.5, 10.0, 9.0, 2.0, 0.5, 4.0,
3.0, 5.0, 1.0, 4.0, 2.0, 4.0, 3.0, 2.0, 5.0, 6.0, 3.0, 4.0, 2.0,
3.0, 4.0, 4.0, 3.0, 5.0, 7.0)
I am using the following code for my graph:
sizeplot(ww.max, mortality, scale=1, pow=.75)
I would like to add a legend that indicates the relationship between size of
the point and the number of repetitions, any suggestions?
--
Liz Duermit
Marine Biology Master's Candidate
Grice Marine Lab
College of Charleston
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.