Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Collapse all of the lines in jane.vector into one big string, separating each line by a space in doing so, using the paste() command. Call

Collapse all of the lines in jane.vector into one big string, separating each line by a space in doing so, using the paste() command. Call the resulting string jane.string. In the following problems, be sure you are using string commands such as substr, gsub/sub, strsplit, etc.

How many characters does jane.string have? Display the 120th -170th characters in jane.string. Display the last 50 characters of jane.string.

Answer should be in RCode!

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

Students also viewed these Databases questions