Skip to content
Prev 319486 / 398506 Next

error: object of type 'closure' is not subsettable

Edit: OK I got it
+      {
+      for (cond in 1:8)
+          {
+          measurement = *my*table[mytable[,"bed"]==cond &
mytable[,"dye"]==dye,"differenz"]
+          print(median(measurement))
+          wilcox.test(measurement,mu=0)
+          }
+       } 

But now I get new error massages:

Error in wilcox.test.default(measurement, mu = 0) : 
  not enough (finite) 'x' observations
In addition: There were 11 warnings (use warnings() to see them)
Warning messages:
1: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
2: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with zeroes
3: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with zeroes
4: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
5: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
6: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
7: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with zeroes
8: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with zeroes
9: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
10: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties
11: In wilcox.test.default(measurement, mu = 0) :
  cannot compute exact p-value with ties

What does this mean?
OK can?t compute with zeros, but why? The test should compare the
mediandifference to 0 and if the values are 0 it should be 1, or not?
And what means 'cannot compute exact p-value with ties'?

Greetings
 Robert



--
View this message in context: http://r.789695.n4.nabble.com/error-object-of-type-closure-is-not-subsettable-tp4661305p4661316.html
Sent from the R help mailing list archive at Nabble.com.