Displaying 1 result from an estimated 1 matches for "low4".
Did you mean:
low
2011 Sep 05
1
Dealing with NA's in a data matrix
...rror due to the length of the data sets from the
removal of the NA's. Here is the data, and the code that I am using so
far, if you run it, you'll see the error pop up.... 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)
leng...