Skip to content

Commit

Permalink
[skip-ci] Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mhesselbarth committed Sep 21, 2022
1 parent d3a904c commit 5dc16ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@
* Include new `spatstat` package structure

# shar 1.3.1
* Improvements
* Bugfixes
* Bugfix in `plot.rd_pat()` and `plot.rd_mar()`
* New functionality
* Adding internal `sample_randomized()` function used during plotting

# shar 1.3
Expand Down Expand Up @@ -100,8 +101,8 @@

# shar 0.2.1
* Improvements
* minor speed improvment for `reconstruct_pattern()`, `reconstruct_marks()` and `calculate_energy()`
* The starting pattern is now identical for all n_random and only the relocation process differs between randomizations
* Minor speed improvement for `reconstruct_pattern()`, `reconstruct_marks()` and `calculate_energy()`
* The starting pattern is now identical for all n_random and only the relocation process differs between randomization
* All summary functions are only calculated for 250 steps from 0 to `rmax`
* Bugfixes
* New functionality
Expand Down
2 changes: 1 addition & 1 deletion R/plot.rd_pat.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' @description Plot method for rd_pat object
#'
#' @param x rd_pat bject with randomized patterns.
#' @param x rd_pat object with randomized patterns.
#' @param what Character specifying to plot summary functions of point patterns
#' (\code{what = "sf"}) or actual patterns (\code{what = "pp"}).
#' @param n Integer with number or vector of ids of randomized pattern to plot.
Expand Down
2 changes: 1 addition & 1 deletion man/plot.rd_pat.Rd

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

2 changes: 1 addition & 1 deletion vignettes/articles/background.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The following two methods randomize the environmental data, i.e. the SpatRaster
The torus-translation test (Harms et al. 2001) shifts the habitat map in all four cardinal directions around a torus. This is only possible for square rasters. To use this method in **shar** use `translate_raster()`.

### Randomized-habitats procedure
The randomze-habitats procedure (Harms et al. 2001) is also possible for non-square raster and randomizes the habitats using a random-walk algorithm. To use this method in **shar** use `randomize_raster()`.
The randomized-habitats procedure (Harms et al. 2001) is also possible for non-square raster and randomizes the habitats using a random-walk algorithm. To use this method in **shar** use `randomize_raster()`.

```{r random-walk, echo = FALSE, out.height = "35%", out.width = "35%", fig.align = "center"}
knitr::include_graphics("random_walk.gif")
Expand Down

0 comments on commit 5dc16ad

Please sign in to comment.