numform (version 0.5.0)

f_state: Format State Names as Abbreviations

Description

Formats a state name as the abbreviated form.

Usage

f_state(x, ...)

ff_state(...)

Arguments

x

A vector of states.

ignored.

Value

Returns a string of abbreviated states.

Examples

Run this code
# NOT RUN {
f_state(c('Texas', 'New York', NA, 'New Jersey', 'Washington', 'Europe'))
# }

Run the code above in your browser using DataLab