ity in r