Ask Question
13 February, 20:28

in R Programming, Create a vector with 10 numbers (3, 12, 6, - 5, 0, 8, 15, 1, - 10, 7) and assign it to x

+5
Answers (1)
  1. 13 February, 20:52
    0
    x < - c (3,12,6,-5,0,8,15,1,-10,7)

    Explanation:

    A vector is a data structure in R language. A vector is a collection of data elements of same type.

    Components are the member of the vector.

    c () : - It is a function known as concatenate. It is used to combine vectors. It does not create vectors.

    In the above a vector a vector with values mentioned in the question is created and assigned to x.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “in R Programming, Create a vector with 10 numbers (3, 12, 6, - 5, 0, 8, 15, 1, - 10, 7) and assign it to x ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers