search for: allwidedata

Displaying 1 result from an estimated 1 matches for "allwidedata".

Did you mean: allieddata
2018 Jan 27
0
GAM: mismatch between nb/polys supplied area names and data area names
...a names in nb and data, but have not been successful. Any advice would be appreciated. Below are code and a data sample. Thank you, Susan code: #read in data; from a numeric polygon "IDENTIFIER" create a new polygon "id" that is a factor datawide <- read_csv("~/Long/ALLWIDEDATA.csv") datawide <- transform(datawide, id = factor(formatC(IDENTIFIER, width = 2, flag = "0"))) #NB: the new area ids are: "01", "02",..."50" #read in the shapefile and create the neighborhood object nb, #names(nb) must correspond to the levels of the...