Skip to content

Commit

Permalink
fixed function call to nlm_planargradient in nlm_edgegradient. closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosci committed Mar 1, 2018
1 parent 63ee5c8 commit 1ded8b0
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 22 deletions.
2 changes: 0 additions & 2 deletions CRAN-RELEASE

This file was deleted.

4 changes: 3 additions & 1 deletion R/nlm_edgegradient.R
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ nlm_edgegradient <- function(ncol,
}

# Create planar gradient ----
gradient_raster <- nlm_planargradient(ncol, nrow, direction)
gradient_raster <- nlm_planargradient(ncol, nrow,
resolution = resolution,
direction = direction)

# Transform to a central gradient ----
edgegradient_raster <-
Expand Down
2 changes: 1 addition & 1 deletion R/util_facetplot.R
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' util_facetplot() for visual overview
#'
#' @description Plot multiple maps side by side for visual inspection.
#' @description Plot multiple raster (RasterStack, -brick or list of raster) side by side as facets.
#'
#' @details The output uses ggplots faceting and beforehand raster2tibble.
#' Thus you will loose any spatial information (resolution, extent or reference system).
Expand Down
6 changes: 3 additions & 3 deletions man/NLMR-package.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_distancegradient.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_edgegradient.Rd

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

6 changes: 2 additions & 4 deletions man/nlm_fBm.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_mosaicfield.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/nlm_mpd.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_percolation.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_planargradient.Rd

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

2 changes: 1 addition & 1 deletion man/nlm_random.Rd

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

7 changes: 6 additions & 1 deletion man/nlm_randomrectangularcluster.Rd

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

2 changes: 1 addition & 1 deletion man/util_facetplot.Rd

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

0 comments on commit 1ded8b0

Please sign in to comment.