Displaying 1 result from an estimated 1 matches for "pathdata".
Did you mean:
patchdata
2008 Oct 30
0
Q: rbind problem in my code
...is only give me the last two pieces. The following code illustrates the problem: 4 pieces of matrix (1000x1000) is created and stored in RData; then load them back and rbind them. I would expect mat is of 4000*1000; however, dim(mat) shows (2000 1000).
Where is my code wrong?
Thanks
## define a pathData directory
pathData='C:'\\data';
points=1000;
data.pfx='rnorm';
rname=paste('row',1:points,sep='');
cname=paste('col',1:points,sep='');
for (i in 1:4) {
x=rnorm(points^2);
mat=matrix(data=x,nrow=points,ncol=points);
rname=paste('...