[R] for "bclust" in package "e1071"
    Uwe Ligges 
    ligges at statistik.uni-dortmund.de
       
    Fri Apr  7 08:52:08 CEST 2006
    
    
  
Linda Lei wrote:
> Hi All,
> 
>  
> 
> Could you please help with the error I get from the following codes?
> 
>  
> 
> 
>>Library(cluster)
> 
> 
>  
> 
> 
>>data(iris)
> 
> 
>  
> 
> 
>>bc1 <- bclust(iris[,2:5], 3, base.method="clara", base.centers=5)
> 
> 
>  
> 
> Then I got:
> 
>  
> 
> "Committee Member:
> 1(1)(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)(12)(13)(14)(15)(16)(17)(18)(19)(20)
> Error in bclust(iris[, 2:5], 3, base.method = "clara",  
> 
>  base.centers = 5):
> 
>  
> 
>  Could not find valid cluster solution in 20 replications"
> 
>  
> 
>  I don't quite understand what the error means here and how to fix it?
You cannot use clara() with bclust(). The cluster function must accept 
an argument "centers" in order to work.
Uwe Ligges
>  
> 
> Thank you! 
> 
>  
> 
>  
> 
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
    
    
More information about the R-help
mailing list