Using Rstudio Create Script Following Instructions Connected Create Vector Movies Contains Q37102624

Using Rstudio, create a script by the following instructions.They are all connected

## Create a vector `movies` that contains the names of sixmovies you like (ex : movie1, movie2, movie3…etc)
## Always print your results!

## Create a vector `top_three` that only contains the first threemovies in the vector.
## Use indexing.

## Using your vector and the paste method, create a vector`excited` that adds the phrase –
## ” is a great movie!” to the end of each element in your moviesvector

## Create a vector `without_four` that has your first three movies,and your 5th and 6th movies.


Solution


Using Rstudio, create a script by the

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.