Description Usage Arguments Value Author(s) Examples
View source: R/specvis_search.R
Search the spec.vis database.
1 | specvis_search(..., return.spectra = FALSE)
|
... |
One or more search conditions to match (note: must use relational operators, e.g.
|
return.spectra |
A logical argument specifying whether the raw spectra be returned.
Defaults to |
A data frame of reflectance spectra from binned in 1 nm intervals from 300-700 nm, with the first column containing wavelengths ('wl').
Thomas White thomas.white026@gmail.com
1 2 3 4 5 6 7 8 9 10 | ## Not run:
# Query the database to see how many spectra from the genus 'bombus'
# are available, and examine their metadata
specvis_search(genus == "bombus")
# Save the corresponding spectra to an object
bombus_vis <- specvis_search(genus == "bombus", return.spectra = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.