R/ensemble.batch.presence.R

Defines functions `ensemble.batch.presence`

`ensemble.batch.presence` <- function(
    p=NULL, species.name="Species001"
)
{
    p <- as.matrix(p)
    p <- cbind(rep(species.name, nrow(p)), p)
    p <- data.frame(p)
    names(p) <- c("species", "x", "y")
    return(p)
}

Try the BiodiversityR package in your browser

Any scripts or data that you put into this service are public.

BiodiversityR documentation built on Oct. 22, 2023, 5:06 p.m.