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

"where did you spend your holidays last year?"she asked me convert into indirect speech​
Footwear manufacturing is projected to decrease output by 5% from 2009 to 2019. If footwear manufacturing had 1.5 million dollars of output in 2009, approximate
In which region of the United States is Georgia located?
In a class the ratio of boys to girls is 2:1. There are 8 girls. Work out the number of boys.
Find the area and perimeter of a polygon with vertices located at A(-4,-8), B(4, -8), C(4, 0), D(0, 3), and E(-4,0).Area = Perimeter =​
Which ordered pair is a solution to the following linear system? y = x y = –xA (0, 0) B (0, 1) C (1, 1)D (1, 0) ​
what is the value of the expression below when z=2?5z^2-z-4​
8x - 4y + 9 X=4 Y=-2
write this in standard form
Fourteen more than three times a number is the same as ten less than six times the number. Write an equation for this situation and then find the number.