Learn R Programming

screenshot (version 0.9.2)

count_val_freq: Helper function for compare_table().

Description

Helper function for compare_table().

Usage

count_val_freq(mt, colname)

Value

    A dataframe.

Arguments

mt

A numeric matrix or array.

colname

A string of name for count.

Examples

Run this code
mt <- sample(1:10, 30, replace = TRUE)
count_val_freq(mt, "freq")

Run the code above in your browser using DataLab