mean_med: Gives You the Mean and Median

Description Usage Arguments Examples

View source: R/mean_med.R

Description

This function gives you the mean and the median of a dataset

Usage

1

Arguments

df

Name of the Dataset

var

Variable to find the mean and median of

Examples

1
2
3
4
money1 <- read_csv("https://raw.githubusercontent.com/ryanburge/pls2003_sp17/master/sal_work.csv")

money1 %>% 
  mean_med(salary)

ryanburge/socsci documentation built on June 6, 2020, 2:37 a.m.