-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from r-spatialecology/master
Update v0.3
- Loading branch information
Showing
97 changed files
with
2,079 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Type: Package | ||
Package: shar | ||
Title: Species-Habitat Associations | ||
Version: 0.2 | ||
Version: 0.3 | ||
Authors@R: c(person("Maximillian H.K.", "Hesselbarth", email = "[email protected]", | ||
role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1125-9918")), | ||
person("Marco", "Sciaini", email = "[email protected]", | ||
|
@@ -18,12 +18,13 @@ URL: https://r-spatialecology.github.io/shar | |
BugReports: https://github.com/r-spatialecology/shar/issues | ||
Depends: R (>= 3.1) | ||
Imports: | ||
classInt, | ||
graphics, | ||
raster, | ||
spatstat, | ||
stats, | ||
utils | ||
classInt, | ||
graphics, | ||
raster, | ||
spatstat, | ||
stats, | ||
utils, | ||
Rcpp | ||
RoxygenNote: 6.1.1 | ||
Suggests: | ||
covr, | ||
|
@@ -34,3 +35,5 @@ Suggests: | |
VignetteBuilder: knitr | ||
Encoding: UTF-8 | ||
LazyData: true | ||
LinkingTo: | ||
Rcpp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
#' rcpp_sample | ||
#' | ||
#' @description Rcpp sample function | ||
#' | ||
#' @param x Vector of elements to sample from. | ||
#' @param n Size of the sample. | ||
#' @param replace Sample with replacement. | ||
#' | ||
#' @details | ||
#' \code{Rcpp} implementation of the \code{sample} function. | ||
#' | ||
#' @seealso | ||
#' \code{\link{sample}} | ||
#' | ||
#' @return vector | ||
#' | ||
#' @name rcpp_sample | ||
#' @export | ||
rcpp_sample <- function(x, n, replace = FALSE) { | ||
.Call(`_shar_rcpp_sample`, x, n, replace) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.