#' @return A matrix of size log(L) x n containing contributions in columns
#'
#' @export
-curvesToContribs <- function(series, wav_filt, contrib_type)
+curvesToContribs <- function(curves, wav_filt, contrib_type)
{
- series <- as.matrix(series)
+ series <- as.matrix(curves)
L <- nrow(series)
D <- ceiling( log2(L) )
# Series are interpolated to all have length 2^D
#' assignMedoids
#'
-#' Find the closest medoid for each curve in input (by-columns matrix)
+#' Find the closest medoid for each curve in input
#'
#' @param curves (Chunk) of series whose medoids indices must be found
#' @param medoids Matrix of medoids (in columns)
#' cleanBin
#'
#' Remove binary files to re-generate them at next run of \code{claws()}.
-#' Note: run it in the folder where the computations occurred (or no effect).
+#' To be run in the folder where computations occurred (or no effect).
#'
#' @export
cleanBin <- function()