How to Create a List in R
To create a list in R, you can use the “list()” function. The “list()” function accepts single or multiple arguments and returns the list. lt <- list(“SBF”, “Alameda”) print(lt) Output [[1]] [1] “SBF” [[2]] [1] “Alameda” You can see that we created a list with two elements. To print the data in the console, use … Read more