I have a data set with four columns and need to make boxplots from them.
 Data is as follows:
 tank Tanks    Total cons_hat
1    a    a4 5.651017     5.59
2    a    a5 5.017499     5.29
3    a    a6 4.894238     4.69
4    c    c4 3.986347     3.40
5    c    c5 4.099442     3.58
6    c    c6 4.150522     3.64
7    h    h4 5.187792     6.32
8    h    h5 6.713422     6.44
9    h    h6 5.168555     5.62

This is simply consumption data with Total being the actual measured
consumption and cons_hat being the predicted.  I need a boxplot of tank "a"
(consisting of a4,a5,a6) "Total" vs. "cons_hat".

boxplot(Total~tank) of course creates a boxplot with only Total by tank, but
how do I put the other column in this boxplot?

Thanks ahead of time.

keith

-- 
M. Keith Cox, Ph.D.
Alaska NOAA Fisheries, National Marine Fisheries Service
Auke Bay Laboratories
17109 Pt. Lena Loop Rd.
Juneau, AK 99801
Keith.Cox@noaa.gov
marlinkcox@gmail.com
U.S. (907) 789-6603

	[[alternative HTML version deleted]]

