How many types of vectors are present in r?



How many types of vectors are present in r?..

Answer / Sureena Yadav

In R, there are two main types of vectors: atomic vectors and lists. Atomic vectors are homogeneous, meaning they contain elements of the same data type (e.g., integer or character), while lists can contain different data types.nnAtomic vectors can be created using the `c()` function or vector literals, while lists can be created using the `list()` function.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Explain bor function?

1 Answers  


How to compile and run code in R?

1 Answers  


What does not ‘r’ language do?

1 Answers  


How will you create scatterplot matrices in r language?

1 Answers  


give examples of while and for loop in r.

1 Answers  


What is the of use Matrix package?

1 Answers  


Explain how to generate lists in r?

1 Answers  


Explain Disadvantages of R data visualization?

1 Answers  


How will you measure the probability of a binary response variable in r language?

1 Answers  


Who and When R discovered?

1 Answers  


Why Reshape R Package?

1 Answers  


Explain the programming features of R?

1 Answers  


Categories