Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

use if the different component of microsoft word in general career

Answered: 1 week ago