- data
- matrix or data.frame with raw data 
  
- k
- integer. Number of clusters. 
  
- trim
- numeric between 0 and 1. Proportion of points to be trimmed. 
  
- scaling
- logical. If - TRUE, the variables are centered at their
    means and scaled to unit variance before execution.
 
    
- runs
- The number of random initializations to be performed. 
    
    
- niter1
- The number of concentration steps to be performed for the nstart initializations. 
    
    
- niter2
- The maximum number of concentration steps to be performed for the 
    - nkeepsolutions kept for further iteration. The concentration steps are 
    stopped, whenever two consecutive steps lead to the same data partition.
 
    
    
- nkeep
- The number of iterated initializations (after niter1 concentration 
    steps) with the best values in the target function that are kept for further iterations 
    
  
- points
- NULLor a matrix with k vectors used
    as means to initialize the algorithm. If
    initial mean vectors are specified,- runsshould be 1
    (otherwise the same initial means are used for all runs).
 
  
- countmode
- (deprecated) optional positive integer. Every - countmodealgorithm runs- trimkmeansshows a message.
 
  
- printcrit
- (deprecated) logical. If - TRUE, all criterion values (mean
    squares) of the algorithm runs are printed.
 
- maxit
- (deprecated, use the combination - nkeep, niter1 and niter2) 
    The maximum number of concentration steps to be performed.
    The concentration steps are stopped, whenever two consecutive steps lead
    to the same data partition.
 
    
- parallel
- A logical value, specifying whether the nstart initializations should be done in parallel. 
    
    
- n.cores
- The number of cores to use when paralellizing, only taken into account if parallel=TRUE. 
    
- trace
- Defines the tracing level, which is set to 0 by default. Tracing level 1 
    gives additional information on the stage of the iterative process. 
  
- x
- object of class - tkm.
 
  
- ...
- further arguments to be transferred to - plotor- plotcluster.