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

In “The Blackfeet Genesis,” how did the Old Man make the first people?
what is the friendly numbers strategy
what is the square root of 1/25
A multiple choice test has 10 questions. Each question has four answer choices. a. What is the probability a student randomly guesses the answers and gets exa
Do little lizards lay eggs? Or give birth?
fraction that less than 5/6 and has a denominator of 8
Write down the next term in this sequence 3 8 15 24
Beowulf is an example of a(n) _____. allegory aphorism axiom epic
if you pour out some of the water in a bucket,does the density of the remaining water change? explain.
what is the purpose of having competing political parties? to give people jobs to protect people's liberties to represent different opinions none of the abo