Re: [R] melting columns

2009-10-22 Thread christiaan pauw
Hi Thibault Please give a short example of what the data looks now like and what you want it to look like. regards Christiaan 2009/10/22 Thibault Grava gr...@unbc.ca Hello, I'm using R to run a acoustic analysis software called Seewave. I ask the code to extract a list of variables from

Re: [R] melting columns

2009-10-22 Thread Peter Ehlers
You're too vague about what you want. Do you want to convert time freq 1 10 2 20 3 30 to tf 1 10 2 20 3 30 (use paste()) or to x 1 2 3 10 20 30 (use c()) or ?? -Peter Ehlers Thibault Grava wrote: Hello, I'm using R to run a acoustic analysis

[R] melting columns

2009-10-21 Thread Thibault Grava
Hello, I'm using R to run a acoustic analysis software called Seewave. I ask the code to extract a list of variables from my recording, and the program give ONE table for each of these. The tables consist of a two column data.frame with the time in column 1 and the frequency in column 2.