Print the first 3 rows of the employee dataframe then print all records that contain employee name and salary

Fundamentals of Information Systems
8th Edition
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter4: Telecommunications And Networks
Section: Chapter Questions
Problem 14SAT
icon
Related questions
Question

Could you please help me to solve the second question? the codes will be by using RStudio

品5.G
siimo Microsoft Word (T) - Word
budoor alkebsi BA
File
e
Home
Insert
Draw
Design
Layout
References
Mailings
Review
View
Help
O Tell me what you want to do
A Share
* Cut
Calibri (Body) - 14
AA
A Aa - A E-E-E-E E H « T
P Find-
3bCcDdEe 3bCcDdEe cDdEe CcDdEe 'dEe >CcDdEe 3bCeDdEe 3bCcDdEe 3bCcDdEe bCcDdEe
1 Normal 1 No Spac. Heading 1 Heading 2
Copy
eb Replace
BIU- abe X, x' A - y - A
Paste
* Format Painter
Title
Subtitle
Subtle Em. Emphasis Intense E.
Strong
D Select
Clipboard
Font
Paragraph
Styles
Editing
UPLOAD BLOCKED We ran into a problem with this file and can't save any new changes. Please save a copy to avoid losing your work.
Save a Copy
3 2 Y
3. 4
6
15 I
17 I
SI
10.
11
12
. 13
14
16
1.
Create a dataframe named employee using data.frame() function that consists of all
information in the table below:
Emp_id
Emp_name
Year_join
Salary
1001
John
2012
700.5
1002
Mary
2013
525.0
1003
Sara
2014
755.5
1004
Lynda
2014
900.2
1005
Thomas
2015
875.8
1006
Dan
2015
500.7
1007
Jenny
2015
1000.0
1008
Sam
2015
655.8
1009
Ryan
2016
800.5
1010
Rick
2016
977.5
2. Print the first 3 rows of the employee dataframe then print all records that contain
employee name and salary
Page 1 of 1 20 words
LIX English (United States)
ubuntu (Running) - Oracle VM VirtualBox
GUpload Blocked
156%
ENG E A
四 丽
ull lia isl O
Transcribed Image Text:品5.G siimo Microsoft Word (T) - Word budoor alkebsi BA File e Home Insert Draw Design Layout References Mailings Review View Help O Tell me what you want to do A Share * Cut Calibri (Body) - 14 AA A Aa - A E-E-E-E E H « T P Find- 3bCcDdEe 3bCcDdEe cDdEe CcDdEe 'dEe >CcDdEe 3bCeDdEe 3bCcDdEe 3bCcDdEe bCcDdEe 1 Normal 1 No Spac. Heading 1 Heading 2 Copy eb Replace BIU- abe X, x' A - y - A Paste * Format Painter Title Subtitle Subtle Em. Emphasis Intense E. Strong D Select Clipboard Font Paragraph Styles Editing UPLOAD BLOCKED We ran into a problem with this file and can't save any new changes. Please save a copy to avoid losing your work. Save a Copy 3 2 Y 3. 4 6 15 I 17 I SI 10. 11 12 . 13 14 16 1. Create a dataframe named employee using data.frame() function that consists of all information in the table below: Emp_id Emp_name Year_join Salary 1001 John 2012 700.5 1002 Mary 2013 525.0 1003 Sara 2014 755.5 1004 Lynda 2014 900.2 1005 Thomas 2015 875.8 1006 Dan 2015 500.7 1007 Jenny 2015 1000.0 1008 Sam 2015 655.8 1009 Ryan 2016 800.5 1010 Rick 2016 977.5 2. Print the first 3 rows of the employee dataframe then print all records that contain employee name and salary Page 1 of 1 20 words LIX English (United States) ubuntu (Running) - Oracle VM VirtualBox GUpload Blocked 156% ENG E A 四 丽 ull lia isl O
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Public key encryption
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning