Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是一个非常基本的问题,但不幸的是我找不到直接的答案,而且我并不真正习惯使用列表对象。
我有一个列表对象,MATRICES_list由 100 个不同维度的矩阵组成。我需要知道每个矩阵的维度。有没有办法在不使用循环的情况下这样做?
MATRICES_list
非常感谢您提前
它更容易,你可以使用这个:
as.data.frame(lapply(MATRICES_list, dim))