title: “Homework”
date: “r Sys.Date()
”
output:
word_document: default
pdf_document: default
html_document: default
knitr::opts_chunk$set(echo = TRUE,warning = FALSE,message = FALSE)
Part A (1 mark)
Read the dataset salaries.txt into a dataframe df.
Hint: it may be necessary to carefully inspect the first few lines of the file in order to determine
how to read in the data correctly
df <- read.table("salaries.txt",sep = "