Machine Learning with R Cookbook(Second Edition)
上QQ阅读APP看书,第一时间看更新

How it works...

A list, as said, can contain anything; we start with a simple example to store some elements in a list using the list function. In the next step, we create a list with a vector as element of the list. So, y is a list with its first element as vector of 1, 2, 3 and its second element as vector of A, B, and C.