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.
如果我有一个带有n 个obs 的数据框,我如何将n分配给一个变量?
例如 x <- obscount(dataframe)
x <- obscount(dataframe)
你想要nrow:
nrow
nrow(dataframe)