I am beginner in R I have binary csv file, for example:
a;b;c;d
A;0;0;1;1
B;1;1;1;0
C;1;1;0;1
D;0;0;0;1
I am read in R
data <- read.csv2("/home/beka/data.csv",sep = ";",header = TRUE)
How i can to write a new file like: For ex:
A;a;0
A;b;0
A;c;1
A;d;0
B;a;1
B;b;1
Thanks