Skip to content

Commit

Permalink
include option modus_operandi
Browse files Browse the repository at this point in the history
... can be set to sloppy, to allow  for fractal dimensions between 1.6 and 1.9

resolves #18
  • Loading branch information
marcosci committed Mar 9, 2018
1 parent 2e6abcd commit a483a37
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion R/nlm_fBm.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
#' Set Seed for simulation
#' @param rescale [\code{numeric(1)}]\cr
#' If \code{TRUE} (default), the values are rescaled between 0-1.
#' @param ... \cr
#' Other options to RandomFields::RFoptions, especially if you are using
#' fractal dimensions between ~ 1.6 and 1.9 you have to set the option
#' \code{modus_operandi = "sloppy"}.
#'
#'
#' @details
#' Neutral landscapes are generated using fractional Brownian motion,
Expand Down Expand Up @@ -47,7 +52,8 @@ nlm_fBm <- function(ncol,
resolution = 1,
fract_dim = 1,
user_seed = NULL,
rescale = TRUE) {
rescale = TRUE,
...) {

# Check function arguments ----
checkmate::assert_count(ncol, positive = TRUE)
Expand Down

1 comment on commit a483a37

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/nlm_neigh.R:168:1: style: Trailing blank lines are superfluous.

^

Please sign in to comment.