[R] Help with ggplot error: #Error in FUN(X[[i]], ...) : object 'x' not found

Poling, William Po||ngW @end|ng |rom @etn@@com
Tue May 19 15:04:25 CEST 2020


Hello Ben and thank you for your response.

I thought that was what I was doing when I ran this version:
Test1
p <- ggplot(c1members2, aes(x,y)) + 
  geom_point() 

p +  geom_line(data = paths, aes(group = trip_id),inherit.aes = FALSE) + #Error in FUN(X[[i]], ...) : object 'x' not found
  ggtitle(paste0("Optimal route with cost: ", round(objective_value(result), 2)))

Is this not what you mean?	

str(p)
List of 9
 $ data       :'data.frame':	7 obs. of  3 variables:
  ..$ id: int [1:7] 1 2 3 4 5 6 7
  ..$ x : num [1:7] 95.5 90.2 46.8 40.9 43.3 ...
  ..$ y : num [1:7] 4.65 47.57 8.07 38.43 28.59 ...
 $ layers     :List of 1
  ..$ :Classes 'LayerInstance', 'Layer', 'ggproto', 'gg' <ggproto object: Class LayerInstance, Layer, gg>
    aes_params: list
    compute_aesthetics: function
    compute_geom_1: function
    compute_geom_2: function
    compute_position: function
    compute_statistic: function
    data: waiver
    draw_geom: function
    finish_statistics: function
    geom: <ggproto object: Class GeomPoint, Geom, gg>
        aesthetics: function
        default_aes: uneval
        draw_group: function
        draw_key: function
        draw_layer: function
        draw_panel: function
        extra_params: na.rm
        handle_na: function
        non_missing_aes: size shape colour
        optional_aes: 
        parameters: function
        required_aes: x y
        setup_data: function
        setup_params: function
        use_defaults: function
        super:  <ggproto object: Class Geom, gg>
    geom_params: list
    inherit.aes: TRUE
    layer_data: function
    map_statistic: function
    mapping: NULL
    position: <ggproto object: Class PositionIdentity, Position, gg>
        compute_layer: function
        compute_panel: function
        required_aes: 
        setup_data: function
        setup_params: function
        super:  <ggproto object: Class Position, gg>
    print: function
    setup_layer: function
    show.legend: NA
    stat: <ggproto object: Class StatIdentity, Stat, gg>
        aesthetics: function
        compute_group: function
        compute_layer: function
        compute_panel: function
        default_aes: uneval
        extra_params: na.rm
        finish_layer: function
        non_missing_aes: 
        parameters: function
        required_aes: 
        retransform: TRUE
        setup_data: function
        setup_params: function
        super:  <ggproto object: Class Stat, gg>
    stat_params: list
    super:  <ggproto object: Class Layer, gg> 
 $ scales     :Classes 'ScalesList', 'ggproto', 'gg' <ggproto object: Class ScalesList, gg>
    add: function
    clone: function
    find: function
    get_scales: function
    has_scale: function
    input: function
    n: function
    non_position_scales: function
    scales: list
    super:  <ggproto object: Class ScalesList, gg> 
 $ mapping    :List of 2
  ..$ x: language ~x
  .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv> 
  ..$ y: language ~y
  .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv> 
  ..- attr(*, "class")= chr "uneval"
 $ theme      : list()
 $ coordinates:Classes 'CoordCartesian', 'Coord', 'ggproto', 'gg' <ggproto object: Class CoordCartesian, Coord, gg>
    aspect: function
    backtransform_range: function
    clip: on
    default: TRUE
    distance: function
    expand: TRUE
    is_free: function
    is_linear: function
    labels: function
    limits: list
    modify_scales: function
    range: function
    render_axis_h: function
    render_axis_v: function
    render_bg: function
    render_fg: function
    setup_data: function
    setup_layout: function
    setup_panel_guides: function
    setup_panel_params: function
    setup_params: function
    train_panel_guides: function
    transform: function
    super:  <ggproto object: Class CoordCartesian, Coord, gg> 
 $ facet      :Classes 'FacetNull', 'Facet', 'ggproto', 'gg' <ggproto object: Class FacetNull, Facet, gg>
    compute_layout: function
    draw_back: function
    draw_front: function
    draw_labels: function
    draw_panels: function
    finish_data: function
    init_scales: function
    map_data: function
    params: list
    setup_data: function
    setup_params: function
    shrink: TRUE
    train_scales: function
    vars: function
    super:  <ggproto object: Class FacetNull, Facet, gg> 
 $ plot_env   :<environment: R_GlobalEnv> 
 $ labels     :List of 2
  ..$ x: chr "x"
  ..$ y: chr "y"
 - attr(*, "class")= chr [1:2] "gg" "ggplot"














From: Ben Tupper <btupper using bigelow.org> 
Sent: Tuesday, May 19, 2020 7:46 AM
To: Poling, William <PolingW using aetna.com>
Cc: r-help using r-project.org
Subject: [EXTERNAL] Re: [R] Help with ggplot error: #Error in FUN(X[[i]], ...) : object 'x' not found

**** External Email - Use Caution ****
Hi,

When you add a new layer to a plot and you provide new data, wouldn't it make sense to provide aes() with some indication of the names of the variables to use for coordinate plotting?  You have provided a grouping variable for the paths, but what of coordinates x and y?  How could geom_path() know that your lon/lat variables are to be used as x and y coordinates in the plot? 

Cheers,
Ben



On Tue, May 19, 2020 at 8:29 AM Poling, William via R-help <mailto: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)

Good morning.

I am testing a small sample of my data using an example found here:
#https://urldefense.proofpoint.com/v2/url?u=https-3A__www.r-2Dorms.org_mixed-2Dinteger-2Dlinear-2Dprogramming_practicals_problem-2Dtsp_&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=mETBFqF-RTLN5awPNRy_CxYYqxMrEu99FK68PoNMKq0&e=

If needed I can provide my complete script which is simply the same as the example only using a few rows from my data, let me know, as I think this is just a ggplot issue.

I am getting this error when I use ggplot
#Error in FUN(X[[i]], ...) : object 'x' not found

1. I have reviewed the following with no success.
#Sources referred to for help
#https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_business-2Dscience_anomalize_issues_2&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=wXtp8KhCuHjmSyGkQ4ff3vFbBf2Ve4GawN3qTE2lK_Q&e=
#https://urldefense.proofpoint.com/v2/url?u=https-3A__stackoverflow.com_questions_38988028_error-2Din-2Dfunxi-2Dobject-2Dx-2Dnot-2Dfound-23https-3A__community.rstudio.com_t_error-2Din-2Dfun-2Dx-2Di-2Dobject-2Dvariable-2Dnot-2Dfound_62532_3-2523https-3A__www.neonscience.org_packages-2Din-2Dr&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=_Z-vYnJW4sxansRa74mUatDLP6O0k5BB55JadgWCIyM&e=

2. I have rebooted and re-installed ggplot2 for updates

3. These are the only libraries running
library(knitr)
library(dplyr)
library(ggplot2)
library(ggmap)
library(ompr)
library(ompr.roi)
library(ROI.plugin.glpk)   

Here is the original plot attempt:
ggplot(c1members2, aes(x , y)) + 
  geom_point() + 
  geom_line(data = paths, aes(group = trip_id)) + #Error in FUN(X[[i]], ...) : object 'x' not found
  ggtitle(paste0("Optimal route with cost: ", round(objective_value(result), 2)))

#I have gone through each of the steps one by one and error occurs at --> geom_line(data = paths, aes(group = trip_id))

I have also tried the following:
Test1
p <- ggplot(c1members2, aes(x,y)) + 
  geom_point() 

p +  geom_line(data = paths, aes(group = trip_id),inherit.aes = FALSE) + #Error in FUN(X[[i]], ...) : object 'x' not found
  ggtitle(paste0("Optimal route with cost: ", round(objective_value(result), 2)))

Test2
ggplot(c1members2, aes(x,y)) + 
  geom_point() +
geom_line(data = paths, aes(group = trip_id),inherit.aes = TRUE) + #Error in FUN(X[[i]], ...) : object 'x' not found
  ggtitle(paste0("Optimal route with cost: ", round(objective_value(result), 2)))

Here are the data involved.
str(c1members2)
'data.frame':   7 obs. of  3 variables:
 $ id: int  1 2 3 4 5 6 7
 $ x : num  95.5 90.2 46.8 40.9 43.3 ...
 $ y : num  4.65 47.57 8.07 38.43 28.59 ...

str(paths)
data.frame':    14 obs. of  6 variables:
 $ trip_id  : int  1 2 3 4 5 6 7 1 2 3 ...
 $ property : chr  "from" "from" "from" "from" ...
 $ idx_val  : int  3 1 5 7 6 4 2 1 2 3 ...
 $ Longitude: num  -122 -122 -122 -122 -122 ...
 $ Latitude : num  47.3 47.2 47.3 47.6 47.6 ...
 $ city     : Factor w/ 1337 levels "ABBOTTSTOWN",..: 1169 1169 1169 1069 1069 1069 1069 1169 1069 1169 ...

Here are the dput()'s

I hope I have provided enough information to elicit a response.

Thank you.

WHP

dput(c1members2)
structure(list(id = 1:7, x = c(95.521828085515, 90.2272877161736, 
46.8465689660691, 40.8959155605829, 43.2591531526978, 23.7485886058345, 
64.0406297698986), y = c(4.64803485876031, 47.5678629996171, 
8.0689847051367, 38.4256264258875, 28.5930051512296, 43.5934562642672, 
42.415566619041)), class = "data.frame", row.names = c(NA, -7L

dput(paths) #Although I am only using city %in% c("SEATTLE","TACOMA")) from the original 2353 rows = 7 rows in c1members2
structure(list(trip_id = c(1L, 2L, 3L, 4L, 5L, 6L, 7L, 1L, 2L, 
3L, 4L, 5L, 6L, 7L), property = c("from", "from", "from", "from", 
"from", "from", "from", "to", "to", "to", "to", "to", "to", "to"
), idx_val = c(3L, 1L, 5L, 7L, 6L, 4L, 2L, 1L, 2L, 3L, 4L, 5L, 
6L, 7L), Longitude = c(-122.490417, -122.429323, -122.358115, 
-122.37003, -122.41282, -122.299261, -122.390815, -122.429323, 
-122.390815, -122.490417, -122.299261, -122.358115, -122.41282, 
-122.37003), Latitude = c(47.274599, 47.176596, 47.276776, 47.565667, 
47.646222, 47.673056, 47.549377, 47.176596, 47.549377, 47.274599, 
47.673056, 47.276776, 47.646222, 47.565667), city = structure(c(1169L, 
1169L, 1169L, 1069L, 1069L, 1069L, 1069L, 1169L, 1069L, 1169L, 
1069L, 1169L, 1069L, 1069L), .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")), row.names = c(NA, 
-14L), class = "data.frame")






Proprietary

NOTICE TO RECIPIENT OF INFORMATION:\ This e-mail may con...{{dropped:16}}

______________________________________________
mailto: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_mailman_listinfo_r-2Dhelp&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=2Nwt1YXA0urvwXy8m_Yq8Xlrvn-hfAQmjKk7zXmij-c&e=
PLEASE do read the posting guide https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=JdUwH82y8yFXsbRMGG_dwcWUBl8gzmy3XPjpkCeleSQ&e=
and provide commented, minimal, self-contained, reproducible code.



-- 
Ben Tupper
Bigelow Laboratory for Ocean Science
East Boothbay, Maine
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bigelow.org_&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=oRaY1hdV6ioa7STQkpTvF_HTzJkFCnJPKJo72SdTbCs&e=
https://urldefense.proofpoint.com/v2/url?u=https-3A__eco.bigelow.org&d=DwMFaQ&c=wluqKIiwffOpZ6k5sqMWMBOn0vyYnlulRJmmvOXCFpM&r=j7MrcIQm2xjHa8v-2mTpmTCtKvneM2ExlYvnUWbsByY&m=N45-UMvb1jEdpZi0xmhOt4rv3lQf2DBkFap0cMXXvWc&s=wXV4OHk998Q3mHGu8FvYXE5kZerieouEHZ3_1pU5YCM&e=


Proprietary

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