# colPercents

From Rcmdr v2.0-2
by John Fox

##### Row, Column, and Total Percentage Tables

Percentage a matrix or higher-dimensional array of frequency counts by rows, columns, or total frequency.

- Keywords
- misc

##### Usage

```
colPercents(tab, digits=1)
rowPercents(tab, digits=1)
totPercents(tab, digits=1)
```

##### Arguments

- tab
- a matrix or higher-dimensional array of frequency counts.
- digits
- number of places to the right of the decimal place for percentages.

##### Value

- Returns an array of the same size and shape as
`tab`

percentaged by rows or columns, plus rows or columns of totals and counts, or by the table total.

*Documentation reproduced from package Rcmdr, version 2.0-2, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.