search for: 1b1

Displaying 2 results from an estimated 2 matches for "1b1".

Did you mean: 11
2007 Apr 11
0
Reshape and column order
If I try to reshape a data frame into a long format with more than one column it seems to mix up the column headings (or the columns, depending on how you look at it). For example: > d <- data.frame(row=1:2,b.1=c("1b1","2b1"),b.2=c("1b2","2b2"),a.1=c("1a1","2a1"),a.2=c("1a2","2a2")) > d row b.1 b.2 a.1 a.2 1 1 1b1 1b2 1a1 1a2 2 2 2b1 2b2 2a1 2a2 If I try reshape on this, the column headings are over the wrong columns: > resha...
2008 Feb 07
1
Don't understand removing constant on 1-way ANOVA
...1 0 4 1 1 5 1 1 6 1 1 attr(,"assign") [1] 0 1 attr(,"contrasts") attr(,"contrasts")$x [1] "contr.treatment" Brian McGill Dept of Biology McGill University Stewart Biology Bldg 1205 ave Docteur Penfield Montreal, QC H3A 1B1 CANADA (514) 398-6417 http://www.brianmcgill.org mail@brianmcgill.org [[alternative HTML version deleted]]