countPerc: Count and percentage

View source: R/countPerc.R

countPercR Documentation

Count and percentage

Description

Simple function to count the frequencies of a variable (var) within a data frame (x) along with the percentage. When a value (value) is provided, the function will return the number of defined observations and compute the percentage.

Usage

countPerc(x, var, value = NULL)

Arguments

x

data fame

var

variable

value

value


mikeniemant/nbs documentation built on June 23, 2022, 4:52 a.m.