Displaying 1 result from an estimated 1 matches for "cust_10".
Did you mean:
cust_1
2011 Oct 04
1
Matching two datasets and updating values
...gory = c("C", "D", "B", "A")
cat_val = c(0.10, 0.25, 0.40, 0.54)
cust = c("cust_1", "cust_2", "cust_3", "cust_4", "cust_5", "cust_6", "cust_7", "cust_8", "cust_9", "cust_10")
cust_category = c("C", "A", "A", "A", "A", "C", "D", "B", "B", "D")
Thus, I have
> category
[1] "C" "D" "B" "A"
> cat_val
[1] 0.10 0.25 0.40 0...