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

can you help me answer​
In California, we need more rain to sustain the health of our natural environment, argriculture, and economic. A group of statistics students in Oxnard College
why are senators required to work in at lesst three committees
A) 67 inches B) 67.5 inches C) 68 inches D)68.5 inches Explain your answer
What is Macchu Picchu? a mountain city a type of drink a Native American tribe an Incan deity
The Twenty-Sixteenth Amendment is important to 18 year olds. Why?
Calculate the rate of change.
HELP!! I'm struggling!!
How does a tariff affect domestic (home) manufacturing? tain It encourages foreign buyers to purchase American goods. ade ts roll. It lowers the prices of raw m
From where are migrant workers coming (regionalize)?