title: How to select 100 examples of each mnist digit in R?
body: <p>I need to select 100 examples of each digit from the mnist data base (so 100 zeros, 100 ones, 100 twos, etc), how do I do that? I've tried but I cannot find a way.</p>