npct: Get formatted character with n and percent from a factor,...

View source: R/npct.R

npctR Documentation

Get formatted character with n and percent from a factor, character, or numeric

Description

Get formatted character with n and percent from a factor, character, or numeric

Usage

npct(x, level_of_interest, n.digits = 1)

Arguments

x

Values

level_of_interest

Value of interest, for example, "Male"

n.digits

number of digits after the decimal point. Default is 1.


JAGoodrich/jag2 documentation built on May 16, 2024, 12:13 a.m.