r scripts to determine difficulty of wayang data