An R implimentation of the segmented search algorithmpelt algorithm
     
    
    Usage
    pelt(part, fCost, prune = TRUE, verbose = FALSE)
 
     
    
    Arguments
- part
 
the starting partition
 
- fCost
 
the cost function
 
- prune
 
logical, should pruning be used
 
- verbose
 
logical, print out progress
 
 
    
    Value
    the optimal partition
     
    
    Details
    Basic R implimentation of pelt - not efficent