A R function for Complexity Exploring