A function to apply the model-based recursive partitioning approach to binary data network models - Ising model.