Created
September 4, 2020 21:16
-
-
Save ifknot/9259665f464c86b759b4f584ef0aea63 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create the data frame. | |
emp.data <- data.frame( | |
emp_id = c (1:5), | |
emp_name = c("Rick","Dan","Michelle","Ryan","Gary"), | |
salary = c(623.3,515.2,611.0,729.0,843.25), | |
start_date = as.Date(c("2012-01-01", "2013-09-23", "2014-11-15", "2014-05-11", | |
"2015-03-27")), | |
stringsAsFactors = FALSE | |
) | |
# Print the data frame. | |
print(emp.data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment