produce_2_by_k_counts_table: Create 2 by k count table

Description Usage Arguments Value

View source: R/produce_2_by_k_counts_table.R

Description

This function takes in a data frame where the first column is a vector of 2 categories, while the second column is a vector of redundant k cases.

Usage

1

Arguments

df

A data frame where df[,1] is a vector of two categories (e.g. "A","B"), while df[,2] is a vector of redundant cases (e.g. "Q","Q").

Value

A 2xk table of counts in the 2 categories.


msxakk89/dat documentation built on Aug. 3, 2020, 6:39 p.m.