Learn R Programming

fastR (version 0.10.3)

col.perc: Row and Column Percentages

Description

Convenience wrappers around apply() to compute row and column percentages of matrix-like structures, including output of xtabs.

Usage

col.perc(x)

row.perc(x)

Arguments

x

matrix-like structure

Examples

Run this code
# NOT RUN {
row.perc(xtabs(~Airline+Result,airlineArrival))

# }

Run the code above in your browser using DataLab