count_val_freq: Helper function for 'compare_table()'.

View source: R/locate_image.R

count_val_freqR Documentation

Helper function for compare_table().

Description

Helper function for compare_table().

Usage

count_val_freq(mt, colname)

Arguments

mt

A numeric matrix or array.

colname

A string of name for count.

Value

    A dataframe.

Examples

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


screenshot documentation built on June 22, 2024, 10:30 a.m.