Learn R Programming

pgirmess (version 1.2.8)

pclig: Compute the percentage of each cell of a matrix by row

Description

Compute the percentage of each cells of a matrix by row

Usage

pclig(matr)

Arguments

matr
a matrix

Value

  • Return a matrix with percentages in each cell

Details

Compute the percentage of each cells of a matrix by row

Examples

Run this code
x<-c(2,10,7,8,7) 
y<-c(56,22,7,20,5)
pclig(cbind(x,y))

Run the code above in your browser using DataLab