Question: a . Create the object myobject and assign the values 1 : 1 0 in at least 3 different ways # b . Get the

a . Create the object "myobject" and assign the values 1:10 in at least 3 different ways # b. Get the sum and average of your object # c. Create the following vector by using the paste function - you should only use one line of script "R is great 4 and I love it" "R is great 7 and I love it" "R is great 45 and I love it" # d. vector of 1,2,3 : repeat the vector to get eleven 1, ten 2, and ten 3 # e. What is the value of this vector on position 7 # f. Suppose you want to present fractional numbers (feel free to chose your own number, for example "3/7") #as percentages (for example "42.9%"), nicely rounded to one decimal digit use the round function.

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!