Question: 4 4 2 . Create and manipulate a data frame. i ) Create a 'data.frame' named ' my . trees' that has the following columns:

442. Create and manipulate a data frame.
i) Create a 'data.frame' named 'my.trees' that has the following columns:
'Girth =c(8.3,8.6,8.8,10.5,10.7,10.8,11.0)
'Height =c(70,65,63,72,81,83,66)'
Volume =c(10.3,10.3,10.2,16.4,18.8,19.7,15.6)
ii) Extract the fifth observational unit.
iii) Extract the 'Girth' column referring to it by name.
iv) Print out a data frame of all the observations except for the last observation.
 442. Create and manipulate a data frame. i) Create a 'data.frame'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!