The 2 resemblance strategies available in recommenderlab are pearson relationship coefficient and you can cosine resemblance