Ask Question
6 August, 00:18

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

+2
Answers (1)
  1. 6 August, 00:24
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers