Re: [R] RE SHAPE package question.

2008-08-04 Thread David Hewitt
This is a useful tip, but there is some confusion in the thread that makes it hard to follow. Just clarifying, I hope, so that folks can easily follow it in the future. The original posting had a set of encounter histories with descriptions that did not match the histories. There were 2 males and

Re: [R] RE SHAPE package question.

2008-08-02 Thread Henrik Bengtsson
On Sat, Aug 2, 2008 at 3:56 PM, hpdutra <[EMAIL PROTECTED]> wrote: > > That works. I still think you should have named RESHAPE as "MAGIC"! It is > amazing how much of a time-saver this tool is! Following that suggest would make it even harder for you to find the package you're looking for - there

Re: [R] RE SHAPE package question.

2008-08-02 Thread hpdutra
That works. I still think you should have named RESHAPE as "MAGIC"! It is amazing how much of time saver this tool is! Thanks a lot. -- View this message in context: http://www.nabble.com/RESHAPE-package-question.-tp18792801p18794249.html Sent from the R help mailing list archive at Nabble.com

Re: [R] RE SHAPE package question.

2008-08-02 Thread hadley wickham
It's called reshape Hadley On Sat, Aug 2, 2008 at 4:55 PM, <[EMAIL PROTECTED]> wrote: > I am not there yet. I cannot seem to find the package: > >> install.packages("SHAPE") > Warning in install.packages("SHAPE") : > argument 'lib' is missing: using 'F:\Users\Kevin\Documents/R/win-library/2.7'

Re: [R] RE SHAPE package question.

2008-08-02 Thread rkevinburton
I am not there yet. I cannot seem to find the package: > install.packages("SHAPE") Warning in install.packages("SHAPE") : argument 'lib' is missing: using 'F:\Users\Kevin\Documents/R/win-library/2.7' Warning message: package ‘SHAPE’ is not available Is it called something else? Kevin ha

Re: [R] RE SHAPE package question.

2008-08-02 Thread hadley wickham
On Sat, Aug 2, 2008 at 4:00 PM, hpdutra <[EMAIL PROTECTED]> wrote: > > I am sorry but here is an example >> test > t1 t2 t3 t4 M F id > 1 1 0 0 0 1 0 1 > 2 1 0 0 0 1 0 1 > 3 1 0 0 0 0 1 1 > 4 1 0 1 1 1 0 1 > 5 1 0 1 1 1 0 1 > 6 1 0 1 1 1 0 1 > 7 1 0 1 1 0 1 1 > >

Re: [R] RE SHAPE package question.

2008-08-02 Thread hpdutra
I am sorry but here is an example > test t1 t2 t3 t4 M F id 1 1 0 0 0 1 0 1 2 1 0 0 0 1 0 1 3 1 0 0 0 0 1 1 4 1 0 1 1 1 0 1 5 1 0 1 1 1 0 1 6 1 0 1 1 1 0 1 7 1 0 1 1 0 1 1 > test<-read.table(h=T, file.choose()) > dfm <- melt(test, m = "id") > summarised <- ca

Re: [R] RE SHAPE package question.

2008-08-02 Thread Roy Mendelssohn
so that you don't get too badly flamed, please do read the posting guide. Give a short, reproducible example of code and data that reproduces you error (i.e. what was the reshape command you tried to use). -Roy M. On Aug 2, 2008, at 1:07 PM, hpdutra wrote: Hi there, I am trying to re

[R] RE SHAPE package question.

2008-08-02 Thread hpdutra
Hi there, I am trying to reorganized my data sets so that it is easy for MARK to read it. Basically I have the encounter histories of 1837 butterflies The data looks like this the first 4 columns are the occasions and the last two code for male and female > t1 t2 t3 t4 M F > 10 0