Displaying 1 result from an estimated 1 matches for "temporaty".
Did you mean:
temporary
2007 Jan 10
1
map data.frame() data after having linked them to a read.shape() object
...data.frame': 106 obs. of 50 variables:
$ stacount: Factor w/ 106 levels "ArizonaApache",..: 1 2 3 4 5 6 7 8 9
10 ...
$ 1950 : int 1 0 0 0 0 0 0 0 0 0 ...
[snip]
$ 2005 : int 0 0 0 0 0 0 0 0 0 0 ...
# Pick out a temporary attribute data.frame
datfr = a$att.data
# Merge the temporaty data frame with tabled "cases"
for(i in 2:ncol(temp)){
datfr = merge(datfr, temp[,c(1,i)], by.x="STACOUNT4",
by.y="stacount", all.x=T, all.y=F)
}
#Replace NAs with 0:
for(i in 61:109){
datfr[,i] = ifelse(is.na(datfr[,i])==T,0,datfr[,i])
}
str(a$att.data)
...