Is there a way stop table from sorting in R
问题 Problem setup : Creating a function to take multiple CSV files selected by ID column and combine into 1 csv, then create an output of number of observations by ID. Expected : complete("specdata", 30:25) ##notice descending order of IDs requested ## id nobs ## 1 30 932 ## 2 29 711 ## 3 28 475 ## 4 27 338 ## 5 26 586 ## 6 25 463 I get: > complete("specdata", 30:25) id nobs 1 25 463 2 26 586 3 27 338 4 28 475 5 29 711 6 30 932 Which is "wrong" because it has been sorted by id. The CSV file I