Skip to content

Commit

Permalink
exported autoplot.wmppp()
Browse files Browse the repository at this point in the history
  • Loading branch information
EricMarcon committed Nov 4, 2024
1 parent 178574f commit 10cf6c6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ S3method(as_species_distribution,wmppp)
S3method(autoplot,accumulation)
S3method(autoplot,profile)
S3method(autoplot,species_distribution)
S3method(autoplot,wmppp)
S3method(coverage,abundances)
S3method(coverage,numeric)
S3method(coverage_to_size,abundances)
Expand Down
6 changes: 4 additions & 2 deletions R/package.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ base::as.matrix

#' ggplot method to plot wmppp objects
#'
#' Coded in the dbmss package.
#' This method is from the dbmss package. See [dbmss::autoplot.wmppp].
#'
#' @param object an object to be plotted.
#' @param ... extra arguments, currently unused.
Expand All @@ -44,9 +44,11 @@ base::as.matrix
#' @param alpha the opacity of the confidence envelope (in function values) or the points (in maps), between 0 and 1.
#'
#' @return A [ggplot2::ggplot].
#' @nord
#' @export
#'
#' @examples
#' autoplot(paracou_6_wmppp)
#'
autoplot.wmppp <- function(
object,
...,
Expand Down
6 changes: 5 additions & 1 deletion man/autoplot.wmppp.Rd

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

0 comments on commit 10cf6c6

Please sign in to comment.