title: What is a named number?
body: <p>I have a data structure that rstudio is identifying as a "named number" when I google this the results talk about named vectors but I don't see a mention of named numbers. Are they the same?</p>
  
  <p>What is the best way to think about this? Is it a dictionary? A list of two lists? </p>
  
  <p>My goal is to sort by the number and then get the names in order of magnitude. </p>
  
  <p><code>print(my_named_number)</code> </p>
  
  <pre><code>Baker Street       Charing Cross   Edgware Road (B)    Elephant &amp; Castle 
             8.420070e-04                9.403936e-01                3.732567e-05                4.620485e-03 
               Embankment                   Harlesden          Harrow &amp; Wealdston                Kensal Green 
             1.000000e+00                1.566635e-12                1.623611e-17                3.082285e-10 
  </code></pre>
  
  <p>Apologies that this isn't reproducible, I don't know how to build a named number and the data I'm working with is the vector part of the list returned by <code>igraph:eigen_centrality(igraph_object)</code></p>
  
  <p>edit: </p>
  
  <pre><code>str(my_named_number)
  
  Named num [1:4] 8.42e-04 9.40e-01 3.73e-05 4.62e-03
   - attr(*, "names")= chr [1:4] "Baker Street" "Charing Cross" "Edgware Road (B)" "Elephant &amp; Castle" 
  </code></pre>