R语言获取数据框的行数

1)dim(dataframe)[1]

2)nrow(dataframe)

3)length(dataframe[,1])