Displaying 1 result from an estimated 1 matches for "n3_re".
Did you mean:
n1_re
2013 Nov 23
1
how to melt variable to one variable
I want to make a stacked bar plot with one bar for two variables from my
data "chir", the two variables have about 100 values like no, yes and na. I
want to show how many no, yes and na they both have together with the
stacked bar. I tried to melt these to variables first like this:
melt1=melt(data_chir, measure.vars=c("N1_re", "N2_re"), var="zpd")
but it