Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Understanding R input: A student writes the following line of R code: example = c ( 1 , 5 , - 4 , 3 ,

Understanding R input: A student writes the following line of R code:
example =c(1,5,-4,3,-2,8,13,-2)
(a)(0.5 pts each) Give the output of the following R commands.
i. example[5]
ii. example [-3]
iii. example c(1,4,5)
iv. example 2:4
v. example -c(3,6,7)
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

Advanced Database Systems

Authors: Carlo Zaniolo, Stefano Ceri, Christos Faloutsos, Richard T. Snodgrass, V.S. Subrahmanian, Roberto Zicari

1st Edition

155860443X, 978-1558604438

More Books

Students also viewed these Databases questions

Question

How do I calculate 7 year annualized returns given monthly returns

Answered: 1 week ago

Question

define EFFECTIVE PARTICIPATION

Answered: 1 week ago