... properly shows 0 cases for the Group level "cohort 4" ...
Cohort 1 Cohort 2 Cohort 3 Cohort 4 Never RF
5 4 2 0 5
But when I plot ...
coll = c("violet","blue","green","red")
with(df2, interaction.plot(Year, Group, FullYr,
lwd=3,col=coll, bty="l", lty=1, las=1,
ylab="Percent Proficient", xlab="",
main = "Proficiency Trends for RF and Non-RF Schools"))
... I get the four lines that I expected but the legend includes the
Group level "cohort 4" .
How can I get rid of "cohort 4" in Group?
Thanks!
Art
------------------------------------------------------------------
Art Burke
Northwest Regional Educational Laboratory
101 SW Main St, Suite 500
Portland, OR 97204-3213
Phone: 503-275-9592 / 800-547-6339
Fax: 503-275-0450
burkea at nwrel.org
______________________________________________
R-help at 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.