Displaying 2 results from an estimated 2 matches for "name_3".
Did you mean:
name3
2017 Jun 12
2
Keep only those values in a row in a data frame which occur only once.
Dear All,
I have a file data.txt as follows:
Name_1,A,B,C
Name_2,E,F
Name_3,I,J,I,K,L,M
I will read this with:
my_data<- read.csv("data.txt",header=FALSE,col.names=paste0("V",
seq(1:10)),fill=TRUE)
Then the file will have 10 columns. I am assuming that each row in data.txt
will have at the max 10 entries.
Note: Here each row will have a different...
2010 Jan 21
0
sp package - How to join two or more polygons from a SpatialPolygonsDataFrames
...a map of Germany and I need to join some
counties.
library(sp)
library(RColorBrewer)
# get spatial data for Germany on county level
con <- url("http://gadm.org/data/rda/DEU_adm3.RData")
print(load(con))
close(con)
# plot Germany with random colors
col = rainbow(length(levels(gadm$NAME_3)))
spplot(gadm, "NAME_3", col.regions=col, main="German Regions",
colorkey = FALSE, lwd=.4, col="white")
???????????????????????????????????????
Mark Heckmann
Dipl. Wirt.-Ing. cand. Psych.
Vorstra?e 93 B01
28359 Bremen
Blog: www.markheckmann.de
R-Blog: http:/...