Chapter 5 Basic blocks

5.1 Subsets

Nguồn (de Vries and Meys 2015, 241)

str(islands)
##  Named num [1:48] 11506 5500 16988 2968 16 ...
##  - attr(*, "names")= chr [1:48] "Africa" "Antarctica" "Asia" "Australia" ...
islands
##           Africa       Antarctica             Asia        Australia     Axel Heiberg           Baffin            Banks           Borneo 
##            11506             5500            16988             2968               16              184               23              280 
##          Britain          Celebes            Celon             Cuba            Devon        Ellesmere           Europe        Greenland 
##               84               73               25               43               21               82             3745              840 
##           Hainan       Hispaniola         Hokkaido           Honshu          Iceland          Ireland             Java           Kyushu 
##               13               30               30               89               40               33               49               14 
##            Luzon       Madagascar         Melville         Mindanao         Moluccas      New Britain       New Guinea  New Zealand (N) 
##               42              227               16               36               29               15              306               44 
##  New Zealand (S)     Newfoundland    North America    Novaya Zemlya  Prince of Wales         Sakhalin    South America      Southampton 
##               58               43             9390               32               13               29             6795               16 
##      Spitsbergen          Sumatra           Taiwan         Tasmania Tierra del Fuego            Timor        Vancouver         Victoria 
##               15              183               14               26               19               13               12               82

Subset elements

References

Vries, Andrie de, and Joris Meys. 2015. R For Dummies. 2nd ed.