[R] Help with Radius problem
Poling, William
Po||ngW @end|ng |rom @etn@@com
Wed May 13 11:30:57 CEST 2020
Good morning Bert. I will sign up for r-sig-geo and review your suggested link as well, thank you very much for your response.
WHP
Proprietary
-----Original Message-----
From: Bert Gunter <bgunter.4567 using gmail.com>
Sent: Tuesday, May 12, 2020 8:30 PM
To: Poling, William <PolingW using aetna.com>
Cc: r-help using r-project.org
Subject: [EXTERNAL] Re: [R] Help with Radius problem
**** External Email - Use Caution ****
No insight But have you consulted:
https://urldefense.proofpoint.com/v2/url?u=https-3A__CRAN.R-2Dproject.org_view-3DSpatial&d=DwIBaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=gbt_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=aT7qePkClGUoKBh0QatR5mvySgsYeUp9gU0WLReStTU&e=
Also, I believe this would be better posted on r-sig-geo, not here.
Bert Gunter
"The trouble with having an open mind is that people keep coming along and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, May 12, 2020 at 5:57 PM Poling, William via R-help <r-help using r-project.org> wrote:
>
> #RStudio Version Version 1.2.1335
> sessionInfo()
> # R version 4.0.0 Patched (2020-05-03 r78349)
> #Platform: x86_64-w64-mingw32/x64 (64-bit) #Running under: Windows 10
> x64 (build 17763)
>
> Hello I am trying to figure out how to create concentration of ID's in
> the following data, based on determining the highest concentration in
> the smallest radius area based on Longitude and Latitude (geo
> location)
>
> I have reviewed many websites looking for a function or tutorial, (if
> you are aware of either please let me know)
>
> I have worked through the following to see if they are close to what I need, but they are not.
>
> #Possible use
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com
> _questions_21977720_r-2Dfinding-2Dclosest-2Dneighboring-2Dpoint-2Dand-
> 2Dnumber-2Dof-2Dneighbors-2Dwithin-2Da-2Dgiven-2Drad&d=DwIBaQ&c=wluqKI
> iwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2
> ExlYvnUWbsByY&m=gbt_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=t6qPeVA_
> C9VbEMtn5earDo2F53CkazDyPAQrL81PifM&e=
>
> #Possible math ref
> https://urldefense.proofpoint.com/v2/url?u=http-3A__janmatuschek.de_La
> titudeLongitudeBoundingCoordinates&d=DwIBaQ&c=wluqKIiwffOpZ6k5sqMWMBOn
> 0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=gb
> t_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=o5R4BF22ow2gJd8RgJOS0pVRn6
> 6a4uCBcXXgK59Z1SM&e=
>
> #Possible use
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com
> _questions_39008850_find-2Dnumber-2Dof-2Dpoints-2Dwithin-2Da-2Dradius-
> 2Din-2Dr-2Dusing-2Dlon-2Dand-2Dlat-2Dcoordinates&d=DwIBaQ&c=wluqKIiwff
> OpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlY
> vnUWbsByY&m=gbt_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=cr5fY67h9cmL
> ZlNVPGcJ5gysN_qVQC-xZetElqwYVhk&e=
>
> #
> https://urldefense.proofpoint.com/v2/url?u=https-3A__gis.stackexchange
> .com_questions_229453_create-2Da-2Dcircle-2Dof-2Ddefined-2Dradius-2Dar
> ound-2Da-2Dpoint-2Dand-2Dthen-2Dfind-2Dthe-2Doverlapping-2Da&d=DwIBaQ&
> c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmT
> CtKvneM2ExlYvnUWbsByY&m=gbt_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=
> xK2iPfFjKfUevj39Uk8ux2OZYYxE3N4kOQU3ecP0W4M&e=
>
> #
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com
> _questions_23071026_drawing-2Da-2Dcircle-2Dwith-2Da-2Dradius-2Dof-2Da-
> 2Ddefined-2Ddistance-2Din-2Da-2Dmap_23072079-2323072079&d=DwIBaQ&c=wlu
> qKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvn
> eM2ExlYvnUWbsByY&m=gbt_psl_UbXJa0-nqZs2cDd5cTAtzTGE6OOluljG2U0&s=susH1
> Qr4Cz3oohO3OF6Bs6PWuAzo5hc7WMQccLvuX08&e=
>
> My actual data is 2353 records with 41 states and 1337 cities represented. Here is a sample below.
>
> Some might call this a hotspot question I suppose: "What is the maximum number of ID's I can gather in the smallest radius size given the data at hand?
>
> For example it would be useful to have a function that I could use to test different combinations of radius size and concentration of ID #'s by geo location.
>
> Any insight would be very much appreciated.
>
> Thank you.
> WHP
>
> str(sample)
> 'data.frame': 35 obs. of 5 variables:
> $ state : Factor w/ 41 levels "AL","AR","AZ",..: 19 29 9 9 10 30 33 35 41 12 ...
> $ city : Factor w/ 1337 levels "ABBOTTSTOWN",..: 281 1280 129 223 989 721 550 731 1325 688 ...
> $ latitude : num 43.5 40.1 26.5 27.9 31.9 ...
> $ longitude: num -70.6 -82.9 -80.1 -82.7 -81.4 ...
> $ ID : int 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 ...
>
> dput(sample)
> structure(list(state = structure(c(19L, 29L, 9L, 9L, 10L, 30L, 33L,
> 35L, 41L, 12L, 12L, 36L, 4L, 9L, 8L, 39L, 36L, 36L, 41L, 28L, 12L,
> 28L, 28L, 12L, 11L, 2L, 12L, 22L, 32L, 22L, 12L, 10L, 10L, 22L, 10L),
> .Label = c("AL", "AR", "AZ", "CA", "CO", "CT", "DC", "DE", "FL", "GA",
> "IA", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN",
> "MO", "NC", "NE", "NJ", "NM", "NV", "NY", "OH", "OK", "OR", "PA",
> "SC", "SD", "TN", "TX", "UT", "VA", "WA", "WI", "WV"), class =
> "factor"), city = structure(c(281L, 1280L, 129L, 223L, 989L, 721L,
> 550L, 731L, 1325L, 688L, 1184L, 281L, 759L, 1171L, 1305L, 587L, 272L,
> 581L, 263L, 152L, 217L, 152L, 390L, 5L, 571L, 1006L, 1162L, 939L,
> 170L, 1033L, 1002L, 586L, 586L, 192L, 586L), .Label = c("ABBOTTSTOWN",
> "ABILENE", "ACWORTH", "ADAMS", "ADDISON", "ADKINS", "ALBANY", "ALBIA",
> "ALBUQUERQUE", "ALEXANDRIA", "ALFRED", "ALIQUIPPA", "ALISO VIEJO",
> "ALLEN PARK", "ALLENTOWN", "ALPHA", "ALPHARETTA", "ALPINE", "ALTOONA",
> "AMARILLO", "AMBLER", "AMBRIDGE", "AMHERST", "AMITYVILLE", "ANAHIEM",
> "ANDERSON", "ANDOVER", "ANGIER", "ANGLETON", "ANKENY", "ANN ARBOR",
> "ANZA", "APEX", "APOLLO", "ARCADIA", "ARCHDALE", "ARDMORE", "ARGYLE",
> "ARKANSAS CITY", "ARLINGTON", "ARNOLD", "ARTHUR", "ASHEBORO",
> "ASHEVILLE", "ASHLAND", "ASHLAND CITY", "ASHTON", "ASTON", "ATHENS",
> "ATLANTA", "ATLANTIC BCH", "AUBORN", "AUGUSTA", "AURORA", "AUSTELL",
> "AUSTIN", "AVENTURA", "AVONDALE ESTATES", "BAKERSFIELD", "BALDWIN
> CITY", "BALDWIN PLACE", "BALLWIN", "BANGOR", "BARBOURSVILLE",
> "BARNEGAT", "BARTLETT", "BARTON", "BARTONVILLE", "BASSETT", "BATAVIA",
> "BATESBURG", "BATON ROUGE", "BAXTER SPRINGS", "BAY CITY", "BAYONNE",
> "BAYSIDE", "BAYTOWN", "BEAR", "BEAUMONT", "BEECH CREEK", "BEECHER
> CITY", "BELFAIR", "BELLE VERNON", "BELLEAIR", "BELLEVUE", "BELLMAWR",
> "BELLMORE", "BELLWOOD", "BELMAR", "BELMONT", "BELVIDERE", "BENNET",
> "BENTON", "BENTONVILLE", "BERLIN", "BESSEMER CITY", "BETHANY",
> "BETHEL", "BETHEL PARK", "BETHESDA", "BETHLEHEM", "BETTENDORF",
> "BIGLERVILLE", "BINGHAMTON", "BIRDSBORO", "BIWABIK", "BLACK MOUNTAIN",
> "BLACKSBURG", "BLAINE", "BLAIRSVILLE", "BLAKESLEE", "BLOOMFIELD",
> "BLUE BELL", "BLUE GRASS", "BLUE POINT", "BLUE SPRINGS", "BOCA RATON",
> "BODFISH", "BOILING SPRINGS", "BOLIVAR", "BON AQUA", "BONNER SPRINGS",
> "BONNEY LAKE", "BOONEVILLE", "BOSSIER CITY", "BOUNTIFUL", "BOWLING
> GREEN", "BOYERTOWN", "BOYNTON BEACH", "BRADENTON", "BRADENVILLE",
> "BRANDAMORE", "BRANDON", "BRANFORD", "BRANSON", "BRASELTON",
> "BREEZEWOOD", "BRENTON", "BRENTWOOD", "BREWSTER", "BRICK",
> "BRIDGEPORT", "BRIDGETON", "BRIGHAM CITY", "BROADDUS", "BROCKPORT",
> "BROGUE", "BROKEN ARROW", "BRONX", "BROOKFIELD", "BROOKHAVEN",
> "BROOKLYN", "BROWNS MILLS", "BROWNSBURG", "BROWNSVILLE", "BRUNSWICK",
> "BRYAN", "BUCKSPORT", "BUDD LAKE", "BUFFALO", "BULVERDE",
> "BUNKERVILLE", "BURBANK", "BURFORD", "BURIEN", "BURLINGTON", "BURR
> RIDGE", "BURTON", "BUSKIRK", "BUTLER", "BUXTON", "BYRON", "CALERA",
> "CAMBRIDGE", "CAMP HILL", "CAMPBELL", "CANAAN", "CANAL WINCHESTER",
> "CANASTOTA", "CANTON", "CARDIFF BY THE SEA", "CARL JUNCTION",
> "CARLISLE", "CARLTON", "CAROL STREAM", "CARROLLTON", "CARSON CITY",
> "CARTERSVILLE", "CARTHAGE", "CARY", "CASEYVILLE", "CASSVILLE",
> "CASWELL", "CATO", "CEDAR RAPIDS", "CEDARBURG", "CEDARVILLE", "CENTER
> POINT", "CENTERTON", "CENTRAL ISLIP", "CENTRAL POINT", "CHAGRIN
> FALLS", "CHALFONT", "CHAPEL HILL", "CHAPIN", "CHARDON", "CHARITON",
> "CHARLESTON", "CHARLOTTE", "CHEROKEE", "CHERRY HILL", "CHERRY VALLEY",
> "CHESHIRE", "CHEST SPRINGS", "CHESTER", "CHESTERTON", "CHICAGO",
> "CHILLICOTHE", "CHOCTAW", "CICERO", "CINCINNATI", "CLAY",
> "CLEARWATER", "CLEARWATER BEACH", "CLEMMONS", "CLENDENIN",
> "CLEVELAND", "CLEVELAND HTS", "CLEVES", "CLIFFSIDE PARK", "CLIFTON",
> "CLIFTON PARK", "CLIFTON SPGS", "CLINTON", "COACHELLA", "COAL
> TOWNSHIP", "COATESVILLE", "COLLEGE STATION", "COLLINSVILLE",
> "COLONIA", "COLUMBIA", "COLUMBUS", "COMMERCE", "CONCORD", "CONCORD
> TOWNSHIP", "CONNELLSVILLE", "CONROE", "CONWAY", "CONYERS",
> "COOKEVILLE", "COON RAPIDS", "CORAOPOLIS", "CORDOVA", "CORNELIUS",
> "CORNWALL", "CORONADO", "CORPUS CHRISTI", "CORRY", "COTTAGE HILLS",
> "COTTLEVILLE", "COTTONWOOD", "COVINGTON", "COWEN", "CRANBERRY
> TOWNSHIP", "CROWN POINT", "CUBA", "CUMBERLAND CENTER", "CUMBERLAND
> FORESIDE", "CUMMING", "CUYAHOGA FLS", "CYPRESS", "DALLAS",
> "DALLASTOWN", "DANBURY", "DANIA BCH", "DANVILLE", "DAVENPORT",
> "DAVIE", "DAVIS JUNCTION", "DAWSON", "DAYTON", "DE SOTO", "DECATUR",
> "DEFIANCE", "DEFOREST", "DELAVAN", "DELMAR", "DELRAY BEACH",
> "DEMOTTE", "DENISON", "DENVER", "DEPTFORD", "DERBY", "DERRY", "DES
> MOINES", "DETROIT", "DICKINSON", "DILLSBURG", "DITTMER", "DIXON",
> "DONNA", "DOTHAN", "DOUGLAS", "DOUGLASVILLE", "DOVER", "DOYLESTOWN",
> "DREXEL HILL", "DUBLIN", "DUCHESNE", "DULUTH", "DUNCAN", "DUNCANNON",
> "DUNCANSVILLE", "DUNEDIN", "DUNNSVILLE", "DURHAM", "DUTTON", "EAGLE
> GROVE", "EAST AURORA", "EAST CHICAGO", "EAST EARL", "EAST HANOVER",
> "EAST HARTFORD", "EAST HARTLAND", "EAST LEROY", "EAST LIVERPOOL",
> "EAST MEADOW", "EAST NORTHPORT", "EAST ORANGE", "EAST PEORIA", "EAST
> SAINT LOUIS", "EASTON", "EDGERTON", "EDISON", "EDMOND", "EGG HBR TWP",
> "EL DORADO", "EL PASO", "ELDRIDGE", "ELGIN", "ELIZABETHVILLE",
> "ELLISVILLE", "ELLSWORTH", "ELLWOOD CITY", "ELMHURST", "ELMWOOD PARK",
> "ELOY", "ELY", "EMERSON", "EMORY", "ENDICOTT", "ENGLEWOOD", "ENID",
> "ENNICE", "ENOLA", "ENUMCLAW", "EPHRATA", "ERIE", "ESTERO", "EUREKA
> SPRINGS", "EVANSVILLE", "EVERETT", "EXCELSIOR SPRINGS", "EXTON",
> "FAIRFAX", "FAIRFIELD", "FAIRHAVEN", "FAIRVIEW", "FAIRVIEW PARK",
> "FALMOUTH", "FAR HILLS", "FAR ROCKAWAY", "FARMINGDALE", "FARMINGTON",
> "FAYETTE", "FAYETTEVILLE", "FELTON", "FENTON", "FERGUSON", "FIELDALE",
> "FINDLAY", "FINGERVILLE", "FLEMINGTON", "FLINT", "FLORENCE",
> "FLORESVILLE", "FLORISSANT", "FLOVILLA", "FLOWER MOUND", "FLUSHING",
> "FOGELSVILLE", "FOLSOM", "FONTANELLE", "FOREST HILLS", "FOREST PARK",
> "FORT DODGE", "FORT FAIRFIELD", "FORT GAY", "FORT LAUDERDALE", "FORT
> LEE", "FORT MILL", "FORT MOHAVE", "FORT PAYNE", "FORT PIERCE", "FORT
> SMITH", "FORT WAYNE", "FORT WORTH", "FOSTORIA", "FOUNTAIN INN",
> "FRANKFORT", "FRANKLIN", "FREEDOM", "FREEHOLD", "FREEPORT", "FREMONT",
> "FULLERTON", "FULSHEAR", "FULTON", "GADSDEN", "GAFFNEY",
> "GAINESVILLE", "GALLOWAY", "GARDEN PRAIRIE", "GARDNERS", "GARNETT
> VALLEY", "GARY", "GASTON", "GASTONIA", "GENEVA", "GETTYSBURG",
> "GIBSONIA", "GILBERT", "GIRARD", "GLEN BURNIE", "GLEN CARBON", "GLEN
> COVE", "GLEN MILLS", "GLENSHAW", "GLENVIEW", "GLENWOOD", "GOLDEN
> CITY", "GOLIAD", "GOODSON", "GOODYEAR", "GORHAM", "GOSHEN",
> "GRANBURY", "GRANBY", "GRAND PRAIRIE", "GRAND RAPIDS", "GRANDVIEW",
> "GRANITE CITY", "GRANITE FALLS", "GRANTS PASS", "GRASS VALLEY",
> "GRAVETTE", "GRAYSVILLE", "GREEN LANE", "GREENBRIER", "GREENLAWN",
> "GREENSBORO", "GREENSBURG", "GREENUP", "GREENVILLE", "GREER",
> "GRIFFIN", "GRIFFITH", "GROTON", "GUADALUPE", "GUILFORD", "HADLEY",
> "HAGAN", "HALF WAY", "HALLANDALE BEACH", "HAMBLETON", "HAMBURG",
> "HAMDEN", "HAMILTON", "HAMMOND", "HAMMONTON", "HAMPSHIRE",
> "HAPEVILLE", "HARBORCREEK", "HARLAN", "HARRISBURG", "HARRISON",
> "HARRISONVILLE", "HARTWELL", "HASTINGS", "HATFIELD", "HAVERHILL",
> "HAWK POINT", "HAYESVILLE", "HELEN", "HENDERSON", "HENDERSONVILLE",
> "HENRICO", "HENRIETTA", "HERMITAGE", "HERNDON", "HERSHEY", "HIALEAH",
> "HIAWATHA", "HIBBING", "HICKORY", "HICKORY GROVE", "HIDDENITE", "HIGH
> HILL", "HIGH POINT", "HIGH RIDGE", "HIGHLAND", "HIGHLAND MILLS",
> "HINCKLEY", "HIRAM", "HOBART", "HOLBROOK", "HOLDEN", "HOLDENVILLE",
> "HOLLADAY", "HOLLIS", "HOLLY SPRINGS", "HOLLYWOOD", "HOLTWOOD",
> "HOMER", "HOMESTEAD", "HONEYVILLE", "HOPE MILLS", "HOT SPRINGS", "HOT
> SPRINGS NATIONAL PARK", "HOUSTON", "HUBBARD", "HUDSON", "HUFFMAN",
> "HULL", "HUMANSVILLE", "HUNTERSVILLE", "HUNTINGDON", "HUNTINGTON
> BEACH", "HUNTS POINT", "HURDLE MILLS", "HURRICANE", "HURST",
> "IMPERIAL", "INDEPENDENCE", "INDIAN SHORES", "INDIAN TRAIL",
> "INDIANA", "INDIANAPOLIS", "INDIANOLA", "INMAN", "IOWA CITY", "IRMO",
> "IRVINGTON", "IRWIN", "ISANTI", "ISLESBORO", "ISLIP", "ISSAQUAH",
> "ITHACA", "JACKSBORO", "JACKSON", "JACKSON HTS", "JACKSONVILLE",
> "JAMAICA", "JAMESTOWN", "JASPER", "JEANNETTE", "JEFFERSON", "JEFFERSON
> CITY", "JEWELL", "JOHNSTON", "JOHNSTOWN", "JONESBORO", "JONESPORT",
> "JONESTOWN", "JOPLIN", "JUPITER", "KANKAKEE", "KANNAPOLIS", "KANSAS
> CITY", "KATY", "KEARNEY", "KELLERTON", "KEMAH", "KENMORE", "KENNESAW",
> "KENT", "KINGMAN", "KINGS MOUNTAIN", "KINGSLAND", "KINGSTON",
> "KINGWOOD", "KIRKLAND", "KUTZTOWN", "LA QUINTA", "LA RUE", "LA VERNE",
> "LAFAYETTE", "LAKE BLUFF", "LAKE IN THE HILL", "LAKE ISABELLA", "LAKE
> PLACID", "LAKE SAINT LOUIS", "LAKE TAPPS", "LAKE VILLAGE", "LAKE
> WAUKOMIS", "LAKE WORTH", "LAKEBAY", "LAKELAND", "LAKEWOOD", "LAKEWOOD
> RCH", "LAMBERTVILLE", "LANCASTER", "LANDISVILLE", "LANSDALE",
> "LAREDO", "LARGO", "LAS VEGAS", "LATROBE", "LAUDERHILL", "LAWNDALE",
> "LAWRENCE", "LAWRENCEVILLE", "LE MARS", "LE ROY", "LEAGUE CITY",
> "LEAVENWORTH", "LEAWOOD", "LEBANON", "LECOMPTON", "LEECHBURG", "LEES
> SUMMIT", "LEESBURG", "LEESVILLE", "LEETONIA", "LENEXA", "LENOIR",
> "LEVITTOWN", "LEWES", "LEWISTOWN", "LEXINGTON", "LIBERTY TWP",
> "LILLINGTON", "LINCOLN", "LINDENHURST", "LINTON", "LISBON",
> "LITCHFIELD PK", "LITHIA", "LITITZ", "LITTLE EGG HARBOR TO", "LK
> FOREST PK", "LK PEEKSKILL", "LOCKHART", "LOCKWOOD", "LOGAN", "LOMA
> LINDA", "LONE JACK", "LONG BEACH", "LONG LANE", "LONGVIEW", "LORAIN",
> "LORTON", "LOS ANGELES", "LOUISBURG", "LOVES PARK", "LOWER BURRELL",
> "LOWRY CITY", "LUBBOCK", "LUGOFF", "LUMBERTON", "LYNBROOK",
> "LYNNWOOD", "MACHESNEY PARK", "MACON", "MAGNOLIA", "MAHOPAC",
> "MAHWAH", "MAINEVILLE", "MALVERN", "MALVERNE", "MANASSAS", "MANCHACA",
> "MANCHESTER", "MANCHESTER TOWNSHIP", "MANCHESTER TW", "MANHEIM",
> "MANITO", "MANLIUS", "MANNINGTON", "MANSFIELD", "MANSURA", "MAPLE
> PARK", "MARBLE FALLS", "MARCELLUS", "MARICOPA", "MARIETTA", "MARION",
> "MARKLEYSBURG", "MARS HILL", "MARSHALLTOWN", "MARSHFIELD",
> "MARSHVILLE", "MARTINSVILLE", "MARYSVILLE", "MASON CITY", "MASSEY",
> "MASSILLON", "MASURY", "MATAWAN", "MATEWAN", "MATTAPOISETT",
> "MATTHEWS", "MAYFIELD HTS", "MAYSEL", "MC CLELLAND", "MC DONALD", "MC
> KEES ROCKS", "MC SHERRYSTOWN", "MC VEYTOWN", "MCALESTER", "MCDONOUGH",
> "MCKEESPORT", "MCKINNEY", "MECHANICSBURG", "MECHANICSVILLE",
> "MEDFORD", "MEDIA", "MEDWAY", "MELVILLE", "MEMPHIS", "MERIDEN",
> "MERRIAM", "MERRICK", "MERRILL", "MERRILLVILLE", "MESA", "MESQUITE",
> "MIAMI", "MIAMI GARDENS", "MICHIGAN CITY", "MIDDLETOWN", "MIDLAND",
> "MIFFLINTOWN", "MILFORD", "MILL CREEK", "MILLBROOK", "MILLEDGEVILLE",
> "MILLINOCKET", "MILNER", "MILTON", "MILWAUKEE", "MINEOLA", "MINERAL
> SPGS", "MINERAL WELLS", "MINNEAPOLIS", "MISSION", "MISSION HILLS",
> "MISSION VIEJO", "MISSOURI CITY", "MISSOURI VALLEY", "MOLINE",
> "MONESSEN", "MONROE", "MONROE TOWNSHIP", "MONROEVILLE", "MONTCLAIR",
> "MONTEREY", "MONTICELLO", "MOORESVILLE", "MORGANTON", "MORGANTOWN",
> "MORRIS PLAINS", "MOUND", "MOUND CITY", "MOUNT HOPE", "MOUNT JOY",
> "MOUNT LAUREL", "MOUNT PLEASANT", "MOUNT POCONO", "MOUNT UNION",
> "MOUNT WOLF", "MOUNTVILLE", "MT HOLLY", "MT PLEASANT", "MULVANE",
> "MUNCIE", "MUNSTER", "MURFREESBORO", "MURRAY", "MURRELLS INLT",
> "MUSTANG", "MYERSTOWN", "MYSTIC", "N BRANFORD", "N FT MYERS",
> "NAPERVILLE", "NAPLES", "NAPOLEON", "NASHVILLE", "NATCHITOCHES",
> "NAUGATUCK", "NEOSHO", "NEPTUNE BEACH", "NESCONSET", "NETCONG", "NEW
> BLOOMFIELD", "NEW BRAUNFELS", "NEW BRITAIN", "NEW BRUNSWICK", "NEW
> CASTLE", "NEW CUMBERLAND", "NEW HAVEN", "NEW KENSINGTON", "NEW
> LONDON", "NEW ORLEANS", "NEW PRESTON", "NEW PROVIDENCE", "NEW
> ROCHELLE", "NEW TRIPOLI", "NEW ULM", "NEW WINDSOR", "NEW YORK",
> "NEWARK", "NEWBURGH HEIGHTS", "NEWINGTON", "NEWNAN", "NEWPORT",
> "NEWPORT BEACH", "NEWTON", "NEWTONVILLE", "NIAGARA FALLS", "NIXA",
> "NOANK", "NOKOMIS", "NORCROSS", "NORFOLK", "NORMAN", "NORMANDY PARK",
> "NORTH BABYLON", "NORTH HAVEN", "NORTH HUNTINGDON", "NORTH JACKSON",
> "NORTH LITTLE ROCK", "NORTH MIAMI", "NORTH PORT", "NORTH RICHLAND
> HILLS", "NORTH WALES", "NORTH WATERBORO", "NORTHFIELD", "NORTHRIDGE",
> "NORTON", "NORWALK", "NOTTINGHAM", "NUTLEY", "NYACK", "O FALLON", "OAK
> RIDGE", "OAKDALE", "OCALA", "OCEANSIDE", "OCILLA", "OLATHE", "OMAHA",
> "OMRO", "ONA", "ONALASKA", "OPA LOCKA", "ORADLL", "ORION", "ORONO",
> "ORRINGTON", "OSCEOLA", "OSKALOOSA", "OSSINING", "OSWEGO", "OTTAWA",
> "OVALO", "OVERLAND PARK", "OWASSO", "OWEGO", "OXFORD", "OYSTER BAY",
> "OZARK", "PALERMO", "PALM CITY", "PALM HARBOR", "PALMDALE", "PALMYRA",
> "PALOS HEIGHTS", "PANA", "PAOLA", "PARK RIDGE", "PARLIN", "PARMA",
> "PARRISH", "PARROTT", "PATASKALA", "PAULS VALLEY", "PAXTON", "PEA
> RIDGE", "PEARLAND", "PECULIAR", "PEEKSKILL", "PEKIN", "PELION",
> "PEMBROKE", "PEMBROKE PINES", "PENN YAN", "PENNELLVILLE", "PENNSBURG",
> "PENNSVILLE", "PEORIA", "PERRY", "PERRYOPOLIS", "PERRYSBURG",
> "PERRYVILLE", "PHARR", "PHILADELPHIA", "PHILIPPI", "PHOENIX",
> "PICKENS", "PICKERINGTON", "PIERSON", "PILOT MOUNTAIN", "PINE BLUFF",
> "PINE HILL", "PINEVILLE", "PINNELLAS PARK", "PISCATAWAY", "PITMAN",
> "PITTSBURGH", "PLACIDA", "PLAINFIELD", "PLANO", "PLANT CITY",
> "PLATTEKILL", "PLEASANT HILL", "PLEASANT HOPE", "PLYMOUTH", "POCONO
> LAKE", "POMFRET CENTER", "POMPANO BEACH", "POOLER", "PORT CARBON",
> "PORT CHARLOTTE", "PORT NORRIS", "PORT ORANGE", "PORT SAINT LUCIE",
> "PORT WASHINGTON", "PORTAGE", "PORTER", "PORTERSVILLE", "PORTLAND",
> "POTTSVILLE", "POUGHKEEPSIE", "POWDER SPRINGS", "POWELL", "PRAIRIE
> VILLAGE", "PRESCOTT", "PRESCOTT VALLEY", "PRINCETON", "PROSPECT", "PT
> PLEASANT", "PUNTA GORDA", "PURCHASE", "QUAKERTOWN", "QUEENS VLG",
> "QUINCY", "RALEIGH", "RANDLEMAN", "RANDOLPH", "RAYTOWN", "READING",
> "READLYN", "RED BANK", "RED HOUSE", "RED LION", "REEDERS", "REGO
> PARK", "REHOBOTH BCH", "REIDSVILLE", "RENO", "RENTON", "REPUBLIC",
> "RICH HILL", "RICHARDS", "RICHMOND", "RICHMOND HILL", "RIDGEWOOD",
> "RINCON", "RIO GRANDE CITY", "RIO RANCHO", "RIVERDALE", "RIVERHEAD",
> "RIVERSIDE", "ROANOKE", "ROCHELLE", "ROCHESTER", "ROCK HILL",
> "ROCKAWAY BCH", "ROCKFORD", "ROCKMART", "ROCKY HILL", "ROCKY MOUNT",
> "ROGERS", "ROGERSVILLE", "ROMULUS", "ROOSEVELT", "ROSAMOND", "ROSCOE",
> "ROSENBERG", "ROSENDALE", "ROSWELL", "ROTONDA WEST", "ROUGEMONT",
> "ROXBORO", "ROY", "RUNNELLS", "RURAL HALL", "RUSH VALLEY", "RUSKIN",
> "RUSTBURG", "RUTHER GLEN", "RUTHERFORDTON", "S DEERFIELD", "SACO",
> "SAGINAW", "SAINT AUGUSTINE", "SAINT CHARLES", "SAINT CLAIR", "SAINT
> CLAIRSVILLE", "SAINT LOUIS", "SAINT MARYS", "SAINT MATTHEWS", "SAINT
> PAULS", "SAINT PETERS", "SAINT PETERSBURG", "SALEM", "SALISBURY",
> "SALT LAKE CITY", "SALTSBURG", "SALUNGA", "SAMMAMISH", "SAN ANTONIO",
> "SAN BENITO", "SAN CLEMENTE", "SAN DIEGO", "SAN ELIZARIO", "SAN JUAN",
> "SANDUSKY", "SANDY", "SANFORD", "SANGERVILLE", "SANTA ANA",
> "SARASOTA", "SARATOGA SPRINGS", "SARCOXIE", "SAUGUS", "SAVANNAH",
> "SAYVILLE", "SCALY MOUNTAIN", "SCHAEFFERSTOWN", "SCHULENBURG",
> "SCOTT", "SCOTTSDALE", "SEAFORD", "SEALE", "SEATTLE", "SEDONA",
> "SEGUIN", "SELDEN", "SENECA", "SENOIA", "SEVEN VALLEYS", "SEYMOUR",
> "SHARON", "SHARPSBURG", "SHARPSVILLE", "SHAVANO PARK", "SHAWNEE",
> "SHELLSBURG", "SHELTON", "SHENANDOAH", "SHORELINE", "SHOREWOOD",
> "SHREVEPORT", "SICKLERVILLE", "SILER CITY", "SILOAM SPRINGS", "SIMON",
> "SIMPSONVILLE", "SIMSBURY", "SIOUX CITY", "SIOUX FALLS", "SKOKIE",
> "SKOWHEGAN", "SLATINGTON", "SLIDELL", "SMITHFIELD", "SN BERNRDNO",
> "SNELLVILLE", "SOCORRO", "SOMERS", "SOPHIA", "SOUTH AMBOY", "SOUTH
> BELOIT", "SOUTH BEND", "SOUTH DARTMOUTH", "SOUTH HOUSTON", "SOUTH
> PARK", "SOUTH PLAINFIELD", "SOUTH SIOUX CITY", "SOUTHAMPTON",
> "SOUTHBURY", "SOUTHGATE", "SPARKS", "SPARROW BUSH", "SPENCER",
> "SPRING", "SPRING BRANCH", "SPRING GROVE", "SPRING HILL", "SPRING
> HOPE", "SPRING VALLEY", "SPRINGDALE", "SPRINGFIELD", "SPRINGFIELD
> GARDENS", "SPRINGHILL", "SPRINGTOWN", "SPRNGFLD GDNS", "SPRUCE PINE",
> "ST PETERSBURG", "ST. GEORGE", "STAFFORD", "STAMFORD", "STANDISH",
> "STANLEY", "STANTON", "STATEN ISLAND", "STATESVILLE", "STERLING",
> "STILLMAN VALLEY", "STILWELL", "STOCKBRIDGE", "STOCKTON", "STONE MTN",
> "STRAFFORD", "STRATFORD", "STRONGSVILLE", "STROUDSBURG", "STRUTHERS",
> "SUFFIELD", "SUGAR HILL", "SUGAR LAND", "SULPHUR", "SUMMERVILLE",
> "SUMMIT", "SUN CITY", "SUNBURY", "SUWANEE", "SWANSEA", "SWANTON",
> "SWEENY", "SWISSVALE", "SYCAMORE", "SYLVANIA", "SYRACUSE", "TACOMA",
> "TAFTVILLE", "TAMPA", "TAPPAHANNOCK", "TAR HEEL", "TAUNTON",
> "TAYLORVILLE", "TECUMSEH", "THE WOODLANDS", "THEODOSIA", "THOMASTON",
> "THOMASVILLE", "TIERRA VERDE", "TIFTON", "TILLSON", "TILTON", "TINLEY
> PARK", "TOCCOA", "TOLEDO", "TOLLAND", "TOMBALL", "TOMS RIVER",
> "TOPEKA", "TOPSHAM", "TORRINGTON", "TOVEY", "TOWNSEND", "TRAVELERS
> RST", "TRENT", "TRINITY", "TROUTMAN", "TROY", "TRUMBULL", "TUCKER",
> "TULALIP", "TURNER", "TUSCUMBIA", "TYRONE", "UNION", "UNION CITY",
> "UNIVERSAL CTY", "UNIVERSITY HTS", "UPPR CHICHSTR", "URBANA",
> "URBANDALE", "UTICA", "VAIL", "VALE", "VALENCIA", "VALPARAISO", "VAN
> BUREN", "VAN METER", "VAN WERT", "VANDERGRIFT", "VASSALBORO",
> "VAUGHN", "VENICE", "VERNAL", "VERNON", "VERONA", "VICTOR", "VIDALIA",
> "VIENNA", "VILLA GROVE", "VILLA RIDGE", "VOLANT", "W HAMPTON BCH", "W
> TERRE HAUTE", "WADSWORTH", "WAHOO", "WAKE FOREST", "WALDEN",
> "WALLINGFORD", "WALLINGTON", "WALNUT COVE", "WANAQUE", "WARFORDSBURG",
> "WARMINSTER", "WARREN", "WARSAW", "WARTHEN", "WASHINGTON", "WASOLA",
> "WATAUGA", "WATERBURY", "WATERFORD", "WATERLOO", "WATERVILLE",
> "WATKINS GLEN", "WAXAHACHIE", "WAYCROSS", "WAYNESBORO", "WEBSTER",
> "WEIRTON", "WELLSBORO", "WELLSVILLE", "WENTZVILLE", "WESLACO", "WEST
> CHESTER", "WEST DEPTFORD", "WEST DES MOINES", "WEST HAVEN", "WEST
> HICKORY", "WEST LIBERTY", "WEST MIFFLIN", "WEST PALM BEACH", "WEST
> POINT", "WEST READING", "WEST SENECA", "WEST SUFFIELD", "WEST VALLEY
> CITY", "WESTERVILLE", "WESTHAMPTON", "WESTMINSTER", "WESTMORELAND
> CITY", "WESTPORT", "WESTVILLE", "WETHERSFIELD", "WHARTON", "WHEELING",
> "WHITE PLAINS", "WHITEHALL", "WHITESTONE", "WHITESTOWN", "WHITING",
> "WHITMAN", "WHITTIER", "WICHITA", "WILDWOOD", "WILLARD",
> "WILLIAMSBURG", "WILLIAMSPORT", "WILLOW GROVE", "WILLOWBROOK",
> "WILLOWICK", "WILMETTE", "WILMINGTON", "WILSON", "WILTON MANORS",
> "WIMBERLEY", "WINDCREST", "WINDER", "WINNEBAGO", "WINSIDE", "WINSTON",
> "WINSTON SALEM", "WINTERSET", "WINTHROP", "WOLCOTT", "WOODBRIDGE",
> "WOODBURY HEIGHTS", "WOODLAND PARK", "WOODLAWN", "WOODS CROSS",
> "WOODSIDE", "WOODSTOCK", "WORTHINGTON", "WYOMISSING", "YARMOUTH",
> "YOE", "YONKERS", "YORK", "YORKTOWN", "YORKTOWN HEIGHTS", "YOUNG HARRIS", "YOUNGSTOWN", "YPSILANTI", "ZELIENOPLE", "ZEPHYRHILLS"), class = "factor"),
> latitude = c(43.53462, 40.142492, 26.538149, 27.9062, 31.90104,
> 34.833083, 35.118836, 35.136047, 39.425712, 40.519207, 40.101126,
> 30.044457, 33.62287, 27.910276, 39.752254, 47.403778, 32.961929,
> 29.820199, 38.408649, 40.668828, 41.983948, 40.58116, 40.7253,
> 41.921667, 41.669921, 36.442552, 38.564663, 37.455315, 40.867774,
> 38.783554, 42.244381, 34.024332, 34.001644, 36.622704, 34.017832
> ), longitude = c(-70.58809, -82.888789, -80.113071, -82.6661,
> -81.372992, -95.840964, -82.016013, -89.92625, -80.276676,
> -89.778385, -87.641063, -94.888036, -117.663119, -82.530568,
> -75.574437, -122.209047, -96.799309, -95.746255, -80.553953,
> -73.923314, -87.713482, -73.9731, -73.8187, -87.987023, -93.759478,
> -94.110903, -90.00597, -93.257109, -79.932483, -90.201858,
> -89.100233, -84.625923, -84.567614, -93.912921, -84.612564
> ), ID = 2318:2352), row.names = c(NA, -35L), class = "data.frame")
>
>
> Proprietary
>
> NOTICE TO RECIPIENT OF INFORMATION:\ This e-mail may
> con...{{dropped:16}}
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mail
> man_listinfo_r-2Dhelp&d=DwIBaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmv
> OXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=gbt_psl_UbXJa0-
> nqZs2cDd5cTAtzTGE6OOluljG2U0&s=QL9JHIC7CR7kgMybKwS9d3Q3PSpRgaxHKx9QG1o
> Fv_M&e= PLEASE do read the posting guide
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.or
> g_posting-2Dguide.html&d=DwIBaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmm
> vOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=gbt_psl_UbXJa0
> -nqZs2cDd5cTAtzTGE6OOluljG2U0&s=L9Wz0HxE7TZHsDtBQPJw8BkJwzig5LFyl9_kpe
> pkPVc&e= and provide commented, minimal, self-contained, reproducible
> code.
NOTICE TO RECIPIENT OF INFORMATION:
This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately.
This e-mail may also contain protected health information (PHI) with information about sensitive medical conditions, including, but not limited to, treatment for substance use disorders, behavioral health, HIV/AIDS, or pregnancy. This type of information may be protected by various federal and/or state laws which prohibit any further disclosure without the express written consent of the person to whom it pertains or as otherwise permitted by law. Any unauthorized further disclosure may be considered a violation of federal and/or state law. A general authorization for the release of medical or other information may NOT be sufficient consent for release of this type of information.
Thank you. Aetna
More information about the R-help
mailing list