logistic and cross validation by R