Post Reply 
Syntax Problems with map() and apply()
05-28-2016, 08:49 PM
Post: #16
RE: Syntax Problems with map() and apply()
DrD, in your example of four repeated shuffling, I see index 31 appear thrice:

[[31],[12],[2],[37],[2],[45],[27],[26],[39],[43],[51],[22],[52],[12],[41],[50],[10],[20],[12],[2],[26],[31],[38],[46],[50],[13],[15],[34],[49],[18],[27],[21],[10],[8],[31],[13],[40],[21],[39],[22],[35],[47],[20],[10],[41],[24],[30],[5],[48],[19],[4],[38]],

So it is a case of sampling with replacement using ranm() and not shuffling as with rand().
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Syntax Problems with map() and apply() - mark4flies - 05-28-2016 08:49 PM



User(s) browsing this thread: 1 Guest(s)