[R] graphing with barchart question

2007-05-07 Thread Matthew Bridgman
I am graphing data using barchart (barchart(DV ~ IV | subject). I have 2 groups of 9 subjects each. How can I easily identify which group each subject belongs to? I have been trying to color code them, but can't seem to get that to work. Any suggestions would be appreciated. Thanks, Matt

Re: [R] graphing with barchart question

2007-05-07 Thread Matthew Bridgman
Sorry. I have attached my data frame: DV = dv; IV = bins; subject = id, Group = group. barchart(dv ~ bins | id + group, groups = group, data = matt.df) The two suggestions you offered give me error messages regarding invalid line type and do not plot all of the data. If I drop the

[R] lm ANOVA vs. AOV

2007-02-27 Thread Matthew Bridgman
Why would someone use lm and ANOVA (anova(lm(x))) instead of AOV (or the other way around)? The mean squares and sum of squares are the same, but the F values and p-values are slightly different. I am modeling a dependent~independent1*independent2. Thanks, Matt Bridgman [[alternative

[R] choose.files() on a mac

2007-02-21 Thread Matthew Bridgman
the function 'choose.files()' won't work on my mac version of R Does anyone know of a comparable function? Thanks, Matt __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] Multilevel Modeling in R

2006-12-04 Thread Matthew Bridgman
Can anyone recommend a good text or resource for learning how to do Multilevel modeling in R? Thanks, Matt __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide

[R] warning messages

2006-06-25 Thread Matthew Bridgman
I want to put warning messages into some of my functions to remind myself to change the output file names each time I run them. Is there a way to do this that will allow me to respond to the warning message (i.e. continue function or cancel)? Thanks, Matt

[R] effect size

2006-06-21 Thread Matthew Bridgman
Does anyone know a simple way of calculating effect sizes? Thanks MB __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] reading text into R

2006-04-17 Thread Matthew Bridgman
Does anyone know of a function 'readTranscript' for reading text into R? Thanks MB __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html