[R] How to avoid two for loops?

2015-02-25 Thread conglan
HI, I have the following large data set: the sample is as the following: Country Product Brand Year_Month DisplaySize OperationSystem AE 1 20201204 1 1 AE 5 20201204 1 1

[R] help on improving the efficiency of the codes

2015-02-25 Thread conglan
HI, I have the following large data set: the sample is as the following: Country Product Brand Year_Month DisplaySize OperationSystem AE 1 20201204 1 1 AE 5 20201204 1 1