pclig {pgirmess} | R Documentation |
Compute the percentage of each cells of a matrix or data.frame by row
pclig(matr)
matr |
a matrix or a data.frame |
Compute the percentage of each cells of a matrix by row. NA are removed.
Return a matrix with percentages in each cell
x<-c(2,10,7,8,7) y<-c(56,22,7,20,5) pclig(cbind(x,y))