'Similar random results for different users [duplicate]
How can different users obtain the same randomly generated matrix with rbinom assigning (0/1) in r?
Here's the applied code
data <- matrix(rbinom(30*6, 1, prior), 30, 6)
I've tried set.seed() but it just generates similar results for me but different for other users
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
