討論串[問題] 生成隨機數據矩陣
共 8 篇文章
內容預覽:
From R help :. The operators‘<-’ and ‘=’ assign into the environment in which. they are evaluated. The operator ‘<-’ can be used anywhere,. whereas th
(還有1792個字)
內容預覽:
你們在討論的兩個operator: <- 和 = 已經把兩種功能混淆了。. 一個是replacement function, 另一個是argument passing. 當直接在R的console使用如:. a <- 1. a = 1. 這個是一種replacement function. 他除了會
(還有2197個字)
內容預覽:
上面那個方法我有用過類似的. x<-array(rexp(2500),c(5,500)). 不過好像都是先生成2500個資料在弄成矩陣. 我想要的是一次5個資料產生,然後弄迴圈做500組. 在這邊先感謝幾位大大為我解惑. =我盡量養成習慣弄<-. --------------------------
(還有305個字)