search for: amphimedon_compressa

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

2009 Jun 21
1
Incidence Function Model in R help
All: Though I am fairly new to R, I am trying to work my way through J Oksanen's "Incidence Function Model in R" and can't get past some error with my glm arguments. I'm getting through > attach(amphimedon_compressa) > plot(x.crd,y.crd,asp=1,xlab="Easting",ylab="Northing",pch=21,col=p+1,bg=5*p) > d<-dist(cbind(x.crd,y.crd)) > alpha<-1 > edis<-as.matrix(exp(-alpha*d)) > diag(edis)<-0 > edis<-sweep(edis,2,A,"*") > S<-rowSums(edis[,p>0]) >...