Explain how to create a list in r?



Explain how to create a list in r?..

Answer / Mr Mukesh Kumar Meena

In R programming, you can create a list using the list() function or directly enclosing elements within c( ) and separating them with commas. For example:nlist1 <- list("item1", 123, list( "sublist1", "sublist2"))

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More R Programming Interview Questions

What are vector functions?

1 Answers  


How would you find the number of missing values in a dataset and remove all of them?

1 Answers  


What are Ensemble Models in R?

1 Answers  


How do you install a package in r?

1 Answers  


What is R studio and how to use it?

1 Answers  


Why Reshape R Package?

1 Answers  


How to create the s3 class?

1 Answers  


Why is R Important?

1 Answers  


What makes a valid variable name in R?

1 Answers  


What is the purpose of using Next statement in R language?

1 Answers  


Is R is a slow language?

1 Answers  


What is white noise model in r?

1 Answers  


Categories