« * K @gsimpson.bsky.social

Gavin Simpson @gsimpson.bsky.social

2026-11-09 10:00 UTC

5/6 Reuse the same shuffles across analyses. Generate the indices once, use permute() to pick any row, or use permutator() to step through them in order. Here both functions return the same first row.

1 picture (not shown on this phone): library("permute") data(jackal, package = "permute") set.seed(42) indices <- shuffleSet(nrow(jackal), nset = 3) next_pe…

A reply in a thread.

0 likes, 0 reposts, 1 replies

3 Next post4 More from @gsimpson.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup