Displaying 1 result from an estimated 1 matches for "dhahbi".
Did you mean:
dhabi
2010 Mar 07
2
data.frame question
...common to y and 0 if it is not.
x=factor(c("A","B","C","D","E","F","G"))
y=factor(c("B","C","G"))
the output should look like this:
A 0
B 1
C 1
D 0
E 0
F 0
G 1
Thanks
Joseph Dhahbi
[[alternative HTML version deleted]]