R users,
This should be simple, but I cannot figure it out.  I import test.csv, then
create a subset for "brook_dis".  When I plot (week, R) I get a nice
boxplot, but along the x axis, there are weeks a, b, c along with h and nh.

Thank you ahead of time. keith

rm(list=ls())

cond.exp1<-read.csv("condition/test.csv",header=TRUE)

sub<-subset(cond.exp1, Species=="brook_dis")

attach(sub)
plot(week, R)
detach(sub)


 Id Species week  7
 bow  a  10  bow  a  12  bow  a  19  bow  a  23  bow  a  24  bow  a  25  bow
 a  26  bow  a  27  bow  a  28  bow  a  32  bow  a  39  bow  a  7  bow  b
10  bow  b  12  bow  b  19  bow  b  23  bow  b  24  bow  b  25  bow  b  26
 bow  b  27  bow  b  28  bow  b  32  bow  b  39  bow  b  7  bow  c  10  bow
 c  12  bow  c  19  bow  c  23  bow  c  24  bow  c  25  bow  c  26  bow  c
27  bow  c  28  bow  c  32  bow  c  39  bow  c  84  brook_dis  h  85
 brook_dis  h  86  brook_dis  h  87  brook_dis  h  88  brook_dis  h  89
 brook_dis  h  90  brook_dis  h  91  brook_dis  nh  92  brook_dis  nh  93
 brook_dis  nh  94  brook_dis  nh  95  brook_dis  nh  96  brook_dis  nh  97
 brook_dis  nh  98  brook_dis  nh  99  brook_dis  nh





-- 
Keith Cox, Ph.D.
Sitka Sound Science Center
Fisheries Biologist
P.O. Box 464
Sitka, Alaska, 99835

907 752-0563
[EMAIL PROTECTED]

        [[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