编程中怎样将列表中数字排序
Lists in R can group together different kinds of variables into a single compound structure. For this reason, lists prove very useful in handling data. A list can contain a numeric, integer string, factor or even another list as its component.
R中的列表可以将不同种类的变量组合到一个复合结构中。 因此,列表在处理数据方面非常有用。 一个列表可以包含数字,整数字符串,因子甚至其他列表作为其组成部分。
在R中创建列表 (Creating Lists in R)
Lists in R can be thought of as similar to vectors in R. However, vectors are more or less atomic since their components cannot be broken down further.
可以认为R中的列表类似于R中的向量 。 但是,矢量或多或少是原子的,因为它们的成分无法进一步分解。
Lists are often known as recursive vectors, as they are comprised of complex structures like vectors and other lists that may have more components.
列表通常称为递归向量 ,因为它们由复杂的结构组成,