connerhaile1792 connerhaile1792
  • 23-08-2019
  • Computers and Technology
contestada

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

Respuesta :

ExieFansler ExieFansler
  • 28-08-2019

Answer:

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.

Answer Link

Otras preguntas

Question: 39 = 15 - 3f -8 20 -18 -50
At this point in the book (Farewell to Manzanar) the tone of this very moving story a. is positively affected by the fact that it is being told from the perspe
Which statement about this quadrilateral is true? O All sides are different lengths. O All sides are the same length. I All angles are acute. O All angles are r
This list describes the human rights record of which U.S.president?
Qualities of Strong Relationships essay
It took a long time for the Muppets to become A convincing B famous C useful D serious
Read the passage and answer the question. [1]Nothing that comes from the desert expresses its extremes better than the unhappy growth of the tree yuccas.Torme
Annotating is a good way to help you understand the text better. True False
What was invented by British inventor Goldsworthy Gurney in the 1800s?
What can fossils show specfically?​