List in R
List is data structure in R with elements which can be of different types.
1. Creating List – with different types elements
diffTypeList <- list(1, “Introduction to R”, TRUE)
2. You can access single element double square brackets
print(diffTypeList[]) // Output  1
3. You can modify by accessing element using double square brackets
diffTypeList[] <- 100