Explain how to generate lists in r?



Explain how to generate lists in r?..

Answer / Chandramani Tiwari

In R, you can generate a list using the `list()` function. For example, creating a list with three elements (a string, a number, and another list) would look like this: `myList <- list("string", 123, list("innerList"))`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

Explain the significance of transpose in r language

1 Answers  


What are the data types in r on which binary operators can be applied?

1 Answers  


What are the different components of grammar of graphics?

1 Answers  


How to create vectors in r?

1 Answers  


What is the use of sample and subset functions in R programming language?

1 Answers  


Which function helps you perform sorting in r language?

1 Answers  


Explain how R commands are written?

1 Answers  


What is r matrices?

1 Answers  


Explain bor function?

1 Answers  


How would you create a box-plot using “plotly”?

1 Answers  


Why is R Good for business?

1 Answers  


What are the data structures in R that are used to perform statistical analyses and create graphs?

1 Answers  


Categories