[R] Outputting data from TukeyHSD

2011-06-03 Thread Kevin Burnham
the output. I have be unable to find a more convenient way and any assistance would be greatly appreciated. Thanks, Kevin Burnham [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-h

[R] using tapply with multiple variables

2011-04-30 Thread Kevin Burnham
HI All, I have a long data file generated from a minimal pair test that I gave to learners of Arabic before and after a phonetic training regime. For each of thirty some subjects there are 800 rows of data, from each of 400 items at pre and posttest. For each item the subject got correct, there

[R] How create vector that sums correct responses for multiple subjects?

2011-03-24 Thread Kevin Burnham
would like a vector that indicates the number correct for each of 33 subjects. Thank you sincerely for your assistance. Kevin Burnham [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/l

[R] labeling outliers with subject numberss

2010-09-15 Thread Kevin Burnham
How can I get the outlier in this boxplot of "Score" to be represented by the corresponding value in "SubNo"? score=c(6,6,7,14,5,7,6,8) SubNo=1:8 mydata=data.frame(SubNo, score) boxplot(mydata$score) Thanks! Kevin [[alternative HTML version deleted]] ___

Re: [R] Plot with Group # as pch

2010-09-13 Thread Kevin Burnham
modified so that it would use the group 3 itself, rather than the corresponding charecter? thanks again, k On Mon, Sep 13, 2010 at 5:00 PM, David Winsemius wrote: > > On Sep 13, 2010, at 5:48 PM, Kevin Burnham wrote: > > Hi All, >> I am trying to plot per cent correct s

[R] Plot with Group # as pch

2010-09-13 Thread Kevin Burnham
Hi All, I am trying to plot per cent correct scores (column name =PerCorr) for each of about 40 subjects. I would like the character representing each score to be a number between 0 and 4 depending on the subject's group (from the column Subject.Group). Also, I would ideally be able to order the d

Re: [R] split a row into multiple columns

2010-06-04 Thread Kevin Burnham
the '\t'? Thanks again. kevin On Thu, Jun 3, 2010 at 2:39 PM, jim holtman wrote: > If you want a matrix, then just create one from the data you have: > > mydata <- matrix(strsplit(x, '\t')[[1]], nrow=1) > > On Thu, Jun 3, 2010 at 1:30 PM, Kevin Burnham wrote: &g

[R] split a row into multiple columns

2010-06-03 Thread Kevin Burnham
Would somebody please help me break this row: "Main Group\t1000\tMP Test\tMP Test, 1\tAudio (1, f1-qaddara.aiff)\tl (target is right word)\tl\tPressed\tl (target is right word)\tC\t3111\t\t\t\t\t" into multiple columns along the \t separator? When I try the strsplit (x,"\t") command I get: [[1]

[R] Ignoring initial rows in a text file import

2010-05-31 Thread Kevin Burnham
d\t(any response)\tC\t25860\t\t\t\t\t" I would also like it to ignore the row: [173] "Main Group\t1000\tBreak\tBreak\ tpause3\t\t \tPressed\t(any response)\tC\t47610\t\t\t\t\t" which will always be the same number of rows after the "Begin Main" row. Thanks, Kevin Burnha