Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/edges.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ scl_edges_tri <- function (xy) {
#' @noRd
scl_edges_nn <- function (xy, nnbs) {

# Initially contruct with nnbs + 1, because the `d` matrix includes
# Initially construct with nnbs + 1, because the `d` matrix includes
# self-distances of zero, which are subsequently removed.
nnbs <- nnbs + 1
d <- apply (
Expand Down
2 changes: 1 addition & 1 deletion R/scl-full.R
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ full_realign_tree <- function (edges, nodes) {
#' order_merges
#'
#' Order merges so they can be plotted as dendrogram
#' @param merges output from rccp_full_merge
#' @param merges output from rcpp_full_merge
#' @noRd
order_merges <- function (merges) {

Expand Down
2 changes: 1 addition & 1 deletion R/scl-redcap.R
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ tree_nodes <- function (tree) {
return (res)
}

#' scl_reccluster
#' scl_recluster
#'
#' Re-cut a spatial cluster tree (\code{scl}) at a different number of clusters.
#'
Expand Down
2 changes: 1 addition & 1 deletion README-src.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ options (repos = c (
The package can then be installed as usual with,

```{r install, eval = FALSE}
install.packges ("spatialcluster")
install.packages ("spatialcluster")
```

Alternatively, the package can also be installed using any of the following
Expand Down
4 changes: 2 additions & 2 deletions src/full-init.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

// --------- FULL CLUSTER ----------------

/* All `index2cl` values are initally set to -1, and there are no `cl2index`
* values. There is also a single binary vector of `index_in_cluster`, initialy
/* All `index2cl` values are initially set to -1, and there are no `cl2index`
* values. There is also a single binary vector of `index_in_cluster`, initially
* set to `false`.
*/

Expand Down
Loading