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

bx - ay = 2 ax + by = 3
An aggressive policy by Austria-Hungary toward Serbia was encouraged by the "blank check" which refers to __________. A) German support for any action Austria-H
Which of the follow is/are not possible symptoms or effects of hepatitis? a. flue-like symptoms such as upset stomach, diarrhea and fatigue b. jaundice look to
Simplify the expression 12x^-4y2/3x^2y^-4
Which organisms feed on host organisms causing them harm
Which is true of the aim occupation of wounded knee apex?
Mary Shelley's story of Frankenstein reflects A. her strong desire to discover the origin of life. B. her unusually intense fear of dying. C. the adventur
Which is the correct sequence of events in the humoral immune response?
Which best describes the effect of the narration?
you invest 1600 in an account that pays an intrest rate of 4.75% compounded continuously calculate the balance of your account after 7 years round ur answer to