~hrbrmstr/epidata

ref: b99e51f6d2da14a0131119506974dde735e6adb1 epidata/man/get_median_and_mean_wages.Rd -rw-r--r-- 1.1 KiB
b99e51f6boB Rudis v0.2.0 is on CRAN\! 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wages.r
\name{get_median_and_mean_wages}
\alias{get_median_and_mean_wages}
\title{Retreive the hourly wage in the middle of the wage distribution}
\usage{
get_median_and_mean_wages(by = NULL)
}
\arguments{
\item{by}{\code{NULL} or character string with any combination of \code{g} (Gender),
\code{r} (Race), \code{e} (Education), \code{d} (Percentile), \code{l} (Entry-level)
i.e. if you want to wage data by gender and race, you would set this
parameter to "\code{gr}".}
}
\value{
\code{tbl_df} with data filtered by the selected criteria.
}
\description{
The median wage is the hourly wage in the middle of the wage distribution;
50 percent of wage earners earn less and 50 percent earn more. The average wage is
the arithmetic mean of hourly wages; or, the sum of all workers' hourly wages divided
by the number of workers.
}
\examples{
get_median_and_mean_wages()

get_median_and_mean_wages("r")

get_median_and_mean_wages("gr")
}
\references{
\href{http://www.epi.org/data/}{Economic Policy Institute Data Library}
}