Question: Create a vector of three elements ( 2 , 4 , 6 ) ' and name that vector vec.a ` . Create a second vector,

Create a vector of three elements (2,4,6)' and name that vector vec.a`. Create a second vector, vec.b', that contains "(8,10,12).
a. Add these two vectors together and name the result 'vec.c'.
## Code chunk
cdots{r}
# Insert your code for this question after this line
trial.vec -1:20
trial.vec
# last R code line
Generate the vector of even numbers {2,4,6,dots,20}.
a. Using the 'seq() function and
 Create a vector of three elements (2,4,6)' and name that vector

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!