[R-SIG-Mac] color lines by group membership in spaghetti plot

Mike Lawrence Mike.Lawrence at dal.ca
Fri May 14 18:57:34 CEST 2010


Check out ggplot:
http://had.co.nz/ggplot2/
http://tinyurl.com/ggplot2-book


On Fri, May 14, 2010 at 1:36 PM, Jack Monpas-Huber
<jack.monpas.huber at shorelineschools.org> wrote:
> Greetings,
>
> I am new to R.  Right now I'm most interested in the spaghetti plots
> of achievement over time by student ID associated with longitudinal
> analysis.  How can I do a spaghetti plot of all students, but color
> the lines by group membership such as gender or race, and indicate
> this color scheme in the legend?  Any advice would be much appreciated.
>
> Jack
>
> Jack B. Monpas-Huber, Ph.D.
> Director of Assessment & Student Information
> Shoreline Public Schools
> 18560 1st Ave NE
> Shoreline, WA 98155
> (206) 368-4774 Office
> (206) 947-9926 Cell
> Shoreline Assessment Web site
>
>
>        [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
>



-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~



More information about the R-SIG-Mac mailing list