Dear Visitors:

Please scroll down the page to see present and archive blogs.

Thank you very much: Tramway Null(0)

Webrings - Maps - Trolleys and More

Navigation by WebRing.

Tuesday, July 3, 2018

Beeswarm of Distances from Bedford Avenue Station Brooklyn to all other stations in NYC


In this experiment,  I took the data where I calculated the distance from the "L" train station in Williamsburgh Brooklyn to every other station (about 493 observations) in feet and read it into "R".
The mean distance is about 30,000 feet.  Using "R", I found out about "Beeswarm" program that is another way than looking at histograms.   The results is the interesting shape below.  Each circle is a distance to another station.  To download "Beeswarm", use this code:  install.packages('beeswarm') in the R environment.   Distance in Feet to next subway station for all stations to Bedford Avenue "L" train.

summary(subway)
    Distance  
 Min.   :  2177
 1st Qu.: 15003
 Median : 25152
 Mean   : 30484
 3rd Qu.: 41862
 Max.   :110748

Traditional histogram



  One circle below represents the distance between the Bedford Avenue Station (index number 337 on a prior map) to the Lorimer Street station (index number 338) and the distance is 2176.9 feet, and so on.  This distance is probably at the bottom of the tree.  The distances at the top of the tree is perhaps in the --,---. range,  to the Bronx or Staten Island.  The mean is 34,800 feet.   The biggest distance is 110,748 feet or 21 miles.  To the Simpson Street Station in the Bronx (index number 18), the distance to Bedford Avenue in Brooklyn is 42,726 feet, or about 8 miles.  This is, of course, how the bird flies, not the street walk along distance or the subway track distance.  The top of the tree dot is the distance of 110,748 feet.  Notice that the largest distances, in this plot, are separated from their "pals", being that they are unique and probably is the distance to distant Staten Island Rapid Transit Stations.  On the bottom, the small distances to Bedford Avenue have "friends" nearby and are thus less isolated.

No comments:

Post a Comment