Displaying 1 result from an estimated 1 matches for "aethiops".
2011 Sep 05
1
Dealing with NA's in a data matrix
..... please help me to get
around this problem. Thanks in advance.
Location Dist. Size
low1 .5 10.5
low2 .5 23
low3 .5 NA
low4 .5 NA
mid1 3 15
mid2 3 11.5
mid3 3 15
mid4 3 NA
high1 6 12.5
high2 6 20
high3 6 21
high4 6 22
wall1 10 13
wall2 10 12.5
wall3 10 13
wall4 10 12
d<-read.table("dilomaaethiops.txt",header=T)
d
str(d)
range(d$Dist.)
s<-d$Size
range(s)
s[s<.1]<-NA
range(s,na.rm=T)
summary(d)
length(s)
length(d$Dist.)
plot(s~d$Dist.,xlab="Distance from Shoreline (m)",ylab="D. aethiops Size
(mm)", pch=7)
a1<-glm(s~d$Dist.,family="quasipoisson",d...