R Package for General Recognition Theory