Learn R Programming

spectre

DevelopmentCICRANLicense

The goal of spectre is to provide an open source tool capable of predicting regional community composition at fine spatial resolutions using only sparse biological and environmental data.

Installation

Install the release version from CRAN:

install.packages("spectre")

To install the developmental version of spectre, use:

install.packages("remotes")
remotes::install_github("r-spatialecology/spectre")

A full use case example is included in the “Getting started with spectre” vignette associated with the package.

Meta

Code of Conduct

Please note that the spectre package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

To see how to contribute to this project, please see the Contributing guidelines.

Copy Link

Version

Install

install.packages('spectre')

Monthly Downloads

95

Version

1.0.5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Craig Simpkins

Last Published

December 1st, 2025

Functions in spectre (1.0.5)

plot_error

plot_error
alpha_list

Matrix of predicted alpha diversity in each cell.
run_optimization_min_conf

run_optimization_min_conf
generate_commonness_matrix_from_gdm

generate_commonness_matrix_from_gdm
plot_commonness

plot_commonness
calc_commonness_error

calc_commonness_error
print.optim_sol

print.optim_sol
estimated_gamma

Total (estimated) species in the system.
minimal_example_data

List with example data created using the gdm package
target_matrix

Pairwise matrix of species in common.
spectre

spectre