How to display the row number after sub setting tibble .
Here is the example , first i am sub setting the classic data frame , results show me the observations with the row number (106,118,119,123 ... )
下面当我子设置 tibble 时,它没有给出观察行号,而是显示 1,2,3,4.....
无论如何,我可以让 tibble 在子设置后显示观察行号吗?
> iris[iris$Sepal.Length >7.4,]
Sepal.Length Sepal.Width Petal.Length Petal.Width Species
106 7.6 3.0 6.6 2.1 virginica
118 7.7 3.8 6.7 2.2 virginica
119 7.7 2.6 6.9 2.3 virginica
123 7.7 2.8 6.7 2.0 virginica
132 7.9 3.8 …Run Code Online (Sandbox Code Playgroud)