Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, I have made three vectors to store Human Resource employee information. All three vectors have a length of 3 elements. The first vector stores
Hello,
I have made three vectors to store Human Resource employee information. All three vectors have a length of 3 elements. The first vector stores names of employees. and the second stores the ID numbers. The third has the state. I have combined these vectors into one data frame and used the head() function to display the row of data with the following code in R:
R R412 . -/ name employ. data str (employ. data) "data. frame": 3 obs. of 3 variables: s name : chr "Thie, Jordan" "Johnson, Randi" "Berry, Alexsis" ID num 1 2 3 states : chr "South Carolina" "New Jersey" "colorado" > head (employ. data, n=1) name ID states 1 Thie, Jordan 1 South CarolinaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started