Skip to content

Commit

Permalink
Fix documentation typos
Browse files Browse the repository at this point in the history
  • Loading branch information
asardaes committed Jul 9, 2017
1 parent 2a9975c commit cde386d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions R/dtwclust.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@
#'
#' In the case of multivariate time series, they should be provided as a list of matrices, where
#' time spans the rows of each matrix and the variables span the columns. At the moment, only `DTW`,
#' `DTW2` and `GAK` suppport such series, which means only partitional and hierarchical procedures
#' `DTW2` and `GAK` support such series, which means only partitional and hierarchical procedures
#' using those distances will work. You can of course create your own custom distances. All included
#' centroid functions should work with the aforementioned format, although `shape` is **not**
#' recommended. Note that the `plot` method will simply append all dimensions (columns) one after
#' the other.
#'
#' Several parameters can be adjusted with the `control` argument. See [dtwclustControl]. In the
#' following sections, elements marked with an asterisk (*) are those that can be adjutsed with this
#' following sections, elements marked with an asterisk (*) are those that can be adjusted with this
#' argument.
#'
#' @return
Expand Down
6 changes: 3 additions & 3 deletions R/tsclust.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@
#' Specifying `type` = `"partitional"`, `preproc` = `zscore`, `distance` = `"sbd"` and `centroid` =
#' `"shape"` is equivalent to the k-Shape algorithm (Paparrizos and Gravano 2015).
#'
#' The `series` may be porovided as a matrix, a data frame or a list. Matrices and data frames are
#' The `series` may be provided as a matrix, a data frame or a list. Matrices and data frames are
#' coerced to a list, both row-wise. Only lists can have series with different lengths or multiple
#' dimensions. Most of the optimizations require series to have the same length, so consider
#' reinterpolating them to save some time (see Ratanamahatana and Keogh 2004; [reinterpolate()]). No
#' missing values are allowed.
#'
#' In the case of multivariate time series, they should be provided as a list of matrices, where
#' time spans the rows of each matrix and the variables span the columns (see [CharTrajMV] for an
#' example). At the moment, only `DTW`, `DTW2` and `GAK` suppport such series. You can of course
#' example). At the moment, only `DTW`, `DTW2` and `GAK` support such series. You can of course
#' create your own custom distances. All included centroid functions should work with the
#' aforementioned format, although `shape` is *not* recommended. Note that the `plot` method will
#' simply append all dimensions (columns) one after the other.
Expand Down Expand Up @@ -174,7 +174,7 @@
#' clustering.
#'
#' Repetitions are greatly optimized when PAM centroids are used and the whole distance matrix is
#' precomputed, since said matrix is reused for every repetition, and can be comptued in parallel
#' precomputed, since said matrix is reused for every repetition, and can be computed in parallel
#' (see Parallel section).
#'
#' @template parallel
Expand Down
4 changes: 2 additions & 2 deletions man/dtwclust.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/tsclust.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cde386d

Please sign in to comment.