table_states: Table States

Description Usage Arguments Value See Also

View source: R/table_states.R

Description

Prints the best n states and the worst n states according to the column provided.

Usage

1
table_states(data, column, number = 4)

Arguments

data

Data frame, must contain 2 columns, state_id & the stat to use. Currently there are two data sets can be used here, women_population_data.csv & median_income_by_state.csv

column

Character, specifies the stat to use, should match a column present in data

n

Integer, Number specifying # of states to show

Value

A data frame

See Also

map_stats


shahreyar-abeer/nadinewestr documentation built on May 27, 2019, 1:06 a.m.