Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 R 中生成两个序列,其中序列 A 来自 0~1,B 来自 0~(1-A)。我尝试使用以下命令,但没有奏效。请问有什么好的建议吗?
A <- seq(0, 1, 0.1) B <- seq(0, (1-A), 0.1)