R implementation of slopeone algorithm.