[R] I have a problem with npmc

Dieter Menne dieter.menne at menne-biomed.de
Fri Sep 23 09:26:20 CEST 2005


Daniel Rodriguez Caicedo <drodriguezca <at> unal.edu.co> writes:

> 
> 
> I am tryng to make an analysis with non-parametric multiple comparisons with 
a data set from Pinciples and
> Procedures of Satistics (Steel and Torrie,1980). The data are of a one-way 
layouth:
> 
>  > DOKNOPAR
>    class  var
> 1   DOK1 19.4
> 2   DOK1 32.6
> 3   DOK1 27.0
...
> 
> But when i try making de npmc, 
> 
> > npmc(DOKNOPAR)
> 
> R displays this message:
> 
> Error in uniroot(f = function(arg) p - z.dist(arg, corr = corr, df = df,  : 
>         f() values at end points not of opposite sign
> 
....

Works for me under Windows, current R and packages, but needs some time. Try a 
str(DOKNOPAR), maybe your data are not exactly what you expecte

   cmp gn effect      lower.cl     upper.cl ...
1  1-2 10   0.94  0.5811513117 1.2988486883 ...
2  1-3 10   0.00 -0.0001573656 0.0001573656 
3  1-4 10   0.18 -0.5714102497 0.9314102497 
4  1-5 10   0.88  0.2349931421 1.5250068579 
....

Dieter




More information about the R-help mailing list