frac.of: Fraction of factor in a vector

Description Usage Arguments Examples

Description

Returns the percentage of observations for a value in a vector of characters or factors

Usage

1
frac.of(x, val)

Arguments

x

A vector or an R object, which is coercible to one by as.vector(x, "factor")

val

The value of interest

Examples

1

opelr/opelR documentation built on May 3, 2019, 5:49 p.m.