Displaying 4 results from an estimated 4 matches for "wolfsub".
Did you mean:
wolfson
2010 Jun 23
1
Shapefile
...ington, Oregon, Idaho, Montana
and Wyoming on map?
# Subset from wolves to create a logistic regression model based on
WOLVES_99 and then apply to all the 5 states
# Remove the WOLVES_99 2(two value) and use "one" for presence and
"zero" for absence to end up with 153 records.
#wolfsub<-subset(wolves,subset=!(WOLVES_99==2))
#wolfsub <- subset(wolves.map,WOLVES_99!=2)
wolfsub <- wolves.map[!wolves.map$WOLVES_99 %in% 2,];wolfsub
dim(wolfsub)
# 42 = Forest, 51 = Shrub, > 81 = Agriculture
wolfsub$Forest<-ifelse(wolfsub$MAJOR_LC==42,1,0)
wolfsub$Shrub<-ifelse(wolfsub...
2010 Jun 24
0
rgdal-maptools
...ington, Oregon, Idaho, Montana and Wyoming on map?
# Subset from wolves to create a logistic regression model based on WOLVES_99 and then apply to all the 5 states
# Remove the WOLVES_99 2(two value) and use "one" for presence and "zero" for absence to end up with 153 records.
wolfsub <- wolves.map[!wolves.map$WOLVES_99 %in% 2,];wolfsub
dim(wolfsub)
# 42 = Forest, 51 = Shrub, > 81 = Agriculture
wolfsub$Forest<-ifelse(wolfsub$MAJOR_LC==42,1,0)
wolfsub$Shrub<-ifelse(wolfsub$MAJOR_LC==51,1,0)
wolfsub$Agriculture<-ifelse(wolfsub$MAJOR_LC>81,1,0)
names(wolfsub);dim(...
2010 Jun 23
1
Plotting Data on a Map
...ington, Oregon, Idaho, Montana
and Wyoming on map?
# Subset from wolves to create a logistic regression model based on
WOLVES_99 and then apply to all the 5 states
# Remove the WOLVES_99 2(two value) and use "one" for presence and
"zero" for absence to end up with 153 records.
#wolfsub<-subset(wolves,subset=!(WOLVES_99==2))
#wolfsub <- subset(wolves.map,WOLVES_99!=2)
wolfsub <- wolves.map[!wolves.map$WOLVES_99 %in% 2,];wolfsub
dim(wolfsub)
# 42 = Forest, 51 = Shrub, > 81 = Agriculture
wolfsub$Forest<-ifelse(wolfsub$MAJOR_LC==42,1,0)
wolfsub$Shrub<-ifelse(wolfsub...
2010 Jun 26
1
predict newdata question
...dcell", "MAJOR_LC", "RD_DENSITY",
"WOLVES_99", "WOLVES_01", "PRED_SUIT", "Forest", "Shrub", "Ag",
"predicted", "prob99"), row.names = c(NA, -208L), class = "data.frame")
?head(wolf)
wolfsub<-subset(wolf,subset=!(WOLVES_99==2))
wolfsub$Forest<-ifelse(wolfsub$MAJOR_LC==42,1,0)
wolfsub$Shrub<-ifelse(wolfsub$MAJOR_LC==51,1,0)
wolfsub$Ag<-ifelse(wolfsub$MAJOR_LC>81,1,0)
m1<-glm(WOLVES_99~RD_DENSITY+Forest+Shrub+Ag,family=binomial,data=wolfsub)
summary(m1)
wolf$Forest <...