Displaying 1 result from an estimated 1 matches for "canpara".
Did you mean:
canpark
2012 Jul 17
2
Problem creation tensor
...*5),c(m,21,5),
list(paste("item",1:m,sep=""),paste("Occ",1:21,sep=""),c("pr1","pr2","pr3","pr4","pr5")))
for ( i in 1:m){
as.matrix(table(occ, UserItem[,2]))
Z[i,,]=table(occ, UserItem[,i])
}
Z.CAND <- CANPARA(Z,dim=7)
I have implemented this code but I have one error in correspondance of:
for ( i in 1:m){
Z[i,,]=table(occ,UserItem[,i])
}
and error is:
Error in
Z[i,,]=table(occ,UserItem[,i])
the number of elements to be replaced is not a multiple of the length
of substitution
Can anyone...