Displaying 1 result from an estimated 1 matches for "cma1".
Did you mean:
cma
2010 Sep 15
0
help for shift.down
Hi all,
I created a matrix by parsing a csv file when I shift rows I am getting the wrong output as below my matrix has single column with multiple rows but it is splitting into multiple columns and not shifting row wise also can you please resolve this issue
CMA1<-function()
{
PMA3<- read.csv("c:/myfile2.csv", strip.white = TRUE,head=TRUE,sep=",")
PMA1<-as.matrix(PMA3)
shift.down(PMA1,rows=47,fill=0)
}
CMA1()
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [,18] [,19] [,20] [,21] [,22...