Hello all, 

 

I have data in the form of a table:

 

X      Y1    Y2

0.1   3       2

0.2   2       1

 

And I would like to transform in the form:

 

X     Y

0.1   Y1

0.1   Y1

0.1   Y1

0.1   Y2

0.1   Y2

0.2  Y1

0.2  Y1

0.2  Y2

 

Any ideas how?

 

Thanks in advance, 

IOanna

 

 

 


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to