阅读背景:

从向量中创建R中的矩阵

来源:互联网 

I am working in R. I have a vector A. It contains values which are integers between 0-10. I want a matrix with 10-X 0s followed by X 1s where X is the corresponding value from vector A. I am working in R. I have a vector A. It contai




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: