Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rstudio:finding_things_out [2013/04/03 15:52] amelia |
rstudio:finding_things_out [2016/05/13 13:45] (current) |
||
---|---|---|---|
Line 18: | Line 18: | ||
labike[order(labike$bike_count_pm),] | labike[order(labike$bike_count_pm),] | ||
</code> | </code> | ||
- | {{ :rstudio:orderprintout.jpg?direct&300 |ordering part 1}} | + | {{ :rstudio:orderprintout.jpg?direct&700 |ordering part 1}} |
- | {{ :rstudio:orderprintout2.jpg?direct&300 |ordering part 2}} | + | {{ :rstudio:orderprintout2.jpg?direct&700 |ordering part 2}} |
This is what we wanted, right? Our Console window isn’t wide enough to see all the columns at once, so R is printing out the last two columns after the rest of the dataset, but we can see that the data is sorted by bike_count_pm.\\ | This is what we wanted, right? Our Console window isn’t wide enough to see all the columns at once, so R is printing out the last two columns after the rest of the dataset, but we can see that the data is sorted by bike_count_pm.\\ |