r - set.seed(x) - does the value of x matter?
问题描述
I know what set.seed()
does and I am aware that each value produces an unique and reproducible random process.
My question is whether it matters what value I use inside of set.seed()
.
I am asking because sometimes I see weird numbers inside of set.seed()
, like set.seed(7*11*13)
.
This looks like there is some idea behind it. So is this useful for some reason?
解决方案
推荐阅读
- javascript - 在反应js浅拷贝或什么中更新状态
- oracle - 如果 Oracle DB 表上的触发器未能成功执行或无法编译,它会影响基表吗?
- ffmpeg - MLT 查询 video_codecs 未列出 libx264
- javascript - 有没有办法使用 JavaScript 对新变量中的字符串进行切片?
- python - 如何更具体地分隔行?
- apache-kafka - Confluent Kafka如何在不订阅的情况下获取特定主题元数据
- firebase - Flutter Firebase 文档是随机排序的
- java - Kivy Android 相机 API 2 - 相机旋转
- angular - 为什么角度应用程序无法识别角度材料样式?
- c++ - 从不同的班级访问班级的麻烦