Hello,
I am trying to run a nonparametric comparison of multiple datasets (A-E).
After importing my csv file I sorted the variable value by the letter class
(representing height along a streambank).
a=Z[Letter=="A"]
b=Z[Letter=="B"]
c=Z[Letter=="C"]
d=Z[Letter=="D"]
e=Z[Letter=="E"]
Next I tested normality and variance assumptions and the data was not normal
and the variances were not equal. So I ran a kruskal wallis test.
kruskal.test(Z~Y) came by with p<<0.05 for the group means not being
equal.
Next I loaded the npmc library
library(npmc)
The npmc command calls for a dataset. I think my problem lies in the
following commands and how they interact with the npmc command. I also
tried just one response variable and a class variable like described in the
help file but received errors.
dataset<-data.frame(a,b,c,d,e)
npmc(dataset)
Error in as.vector(x, mode) : invalid argument 'mode'
> mode(dataset)
[1] "list"
I tried running the debug function on npmc; however, I am not much of a
programmer and the code did not make much sense to me.
I would appreciate any help you can give. The professor I normally contact
with questions is not available. Thanks,
Barb
Barbra C. Utley
Doctoral Candidate
Biological Systems Engineering
Virginia Tech
barb@vt.edu
540-808-8800
[[alternative HTML version deleted]]