Package: spectacles 0.5-4

spectacles: Storing, Manipulating and Analysis Spectroscopy and Associated Data

Stores and eases the manipulation of spectra and associated data, with dedicated classes for spatial and soil-related data.

Authors:Pierre Roudier [aut, cre], Max Kuhn [ctb], Kristian Hovde Liland [ctb], Bjorn-Helge Mevik [ctb], Hadley Wickham [ctb], Raphael Viscarra Rossel [dtc]

spectacles_0.5-4.tar.gz
spectacles_0.5-4.zip(r-4.5)spectacles_0.5-4.zip(r-4.4)spectacles_0.5-4.zip(r-4.3)
spectacles_0.5-4.tgz(r-4.4-any)spectacles_0.5-4.tgz(r-4.3-any)
spectacles_0.5-4.tar.gz(r-4.5-noble)spectacles_0.5-4.tar.gz(r-4.4-noble)
spectacles_0.5-4.tgz(r-4.4-emscripten)spectacles_0.5-4.tgz(r-4.3-emscripten)
spectacles.pdf |spectacles.html
spectacles/json (API)
NEWS

# Install 'spectacles' in R:
install.packages('spectacles', repos = c('https://pierreroudier.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pierreroudier/spectacles/issues

Datasets:
  • australia - Australia spectra library data set
  • oz - Australia spectra library data set

On CRAN:

6.12 score 10 stars 1 packages 44 scripts 178 downloads 38 exports 95 dependencies

Last updated 1 years agofrom:52d07d1fc8. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winNOTEOct 29 2024
R-4.5-linuxNOTEOct 29 2024
R-4.4-winNOTEOct 29 2024
R-4.4-macNOTEOct 29 2024
R-4.3-winNOTEOct 29 2024
R-4.3-macNOTEOct 29 2024

Exports:aggregate_spectraapply_spectrabase_linebig.headbig.tailcontinuum_removalcutfeaturesfeatures<-fill_spectraidsids<-kenstoneload_ozmelt_spectramutateplot_offsetplot_stackplot_summarypostResampleSpectrorbind.Spectrarbind.SpectraDataFrameresrnvseparatesnvspectraSpectraspectra<-SpectraDataFramespectroSummarysplicesplitsubsetwlwl_unitswl_units<-wl<-

Dependencies:askpassbase64encbaselineBiasedUrnbslibcachemclassclassIntclicolorspacecpp11data.tableDBIdigeste1071epiRevaluatefansifarverfastmapflextablefontawesomefontBitstreamVerafontLiberationfontquiverfsgdtoolsgenericsggplot2gluegtablehighrhtmltoolsisobandjquerylibjsonliteKernSmoothknitrlabelinglatticelifecyclelimSolvelpSolvelubridatemagrittrMASSMatrixmemoisemgcvmimemunsellnlmeofficeropensslpanderpillarpkgconfigplyrproxyquadprogR6raggrappdirsRColorBrewerRcppreshape2rlangrmarkdowns2sassscalessfsignalSparseMstringistringrsurvivalsyssystemfontstextshapingtibbletimechangetinytexunitsutf8uuidvctrsviridisLitewithrwkxfunxml2yamlzipzoo

A quick start to the spectacles package

Rendered fromquickstart.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2020-09-09
Started: 2020-09-09

Spectral modelling and predictions using the caret package

Rendered frominterfacing-with-caret.Rmdusingknitr::rmarkdownon Oct 29 2024.

Last update: 2021-01-10
Started: 2020-09-04

Readme and manuals

Help Manual

Help pageTopics
Storing, Manipulating and Analysis Spectroscopy and Associated Data in Rspectacles-package
Aggregates spectral and data informationaggregate_spectra aggregate_spectra,Spectra-method aggregate_spectra,SpectraDataFrame-method
Apply a function on the spectra of a Spectra* objectapply_spectra
Australia spectra library data setaustralia oz
Baseline correction using the baseline package#'base_line base_line,Spectra-method
Return the First or Last Part of an Objectbig.head big.tail
Continuum removalcontinuum_removal
Manipulating the wavelength range of a 'Spectra' objectcut cut,Spectra-method
Retrieve dimensions of Spectra* objectsdim dim.Spectra dimensions length length.Spectra ncol,Spectra-method nrow,Spectra-method
Extracting and replacing parts of Spectra* objects$ $,SpectraDataFrame-method $<- $<-,Spectra-method extraction-methods [ [,Spectra,ANY,ANY,missing-method [,Spectra-method [,SpectraDataFrame,ANY,ANY,missing-method [<- [<-,SpectraDataFrame-method [[ [[,Spectra-method [[,SpectraDataFrame,ANY,missing-method [[<- [[<-,Spectra,ANY,missing,ANY-method [[<-,Spectra,ANY,missing-method [[<-,Spectra-method
Retrieves or sets the data slot of a SpectraDataFrame object.features features,SpectraDataFrame-method features-methods features<- features<-,Spectra-method features<-,SpectraDataFrame-method
Fill missing wavelengths of a Spectra* object with a given valuefill_spectra fill_spectra,Spectra-method
Retrieves or sets the ids of a 'Spectra*' object.ids ids,Spectra-method ids<- ids<-,Spectra-method ids<-,SpectraDataFrame-method
Kennard-Stone algorithm for optimal calibration set selection.kenstone kenstone,Spectra-method
Load the australia datasetload_oz
Melts the spectra data of a Spectra object and returns it as wide format.melt_spectra melt_spectra,Spectra-method melt_spectra,SpectraDataFrame-method melt_spectra-methods
Mutate a Spectra* object by transforming the spectra values, and/or adding new or replacing existing attributes.mutate mutate,Spectra-method mutate.Spectra
Offset plot of a collection of spectraplot_offset plot_offset,Spectra-method
Stacked plot of a collection of spectraplot_stack plot_stack,Spectra-method
Summary plot of a collection of spectraplot_summary plot_summary,Spectra-method
Plots an object inheriting from the Spectra classplot plot,Spectra,ANY-method plot-Spectra plot.Spectra
Calculates performance indictors across resamplespostResampleSpectro spectroSummary
Stacking 'Spectra' objects togetherrbind rbind.Spectra rbind.SpectraDataFrame
Spectral resolutionres res,integer-method res,numeric-method res,Spectra-method res,SpectraDataFrame-method
Separates a 'Spectra*' object into a calibration and a validation set.separate separate,Spectra-method separate.Spectra
Standard and Robust Normal Variate transformationsrnv snv
Constructor for the Spectra class.Spectra
Spectra* classesas.data.frame.SpatialSpectra as.data.frame.Spectra as.data.frame.SpectraDataFrame names.SpectraDataFrame names<-.SpectraDataFrame print,Spectra-method show,Spectra-method spectacles Spectra-class SpectraDataFrame-class
Retrieves or sets the spectra of a 'Spectra*' objects.spectra spectra,data.frame-method spectra,Spectra-method spectra,SpectraDataFrame-method spectra-methods spectra<- spectra<-,data.frame-method spectra<-,Spectra-method
Constructor for the SpectraDataFrame class.SpectraDataFrame
Splice correction of a spectra collected using ASD hardwaresplice splice,Spectra-method
Split a Spectra* object using factorssplit split,Spectra-method split.Spectra
Subset SpectraDataFrame objectsubset subset,SpectraDataFrame-method subset.SpectraDataFrame
Summaryprint.summary.Spectra summary summary.Spectra
Retrieves or sets the wavelengths of a 'Spectra*' object.wl wl,Spectra-method wl<- wl<-,data.frame-method wl<-,Spectra-method
Wavelengths of Spectra* objectswl_units wl_units,Spectra-method wl_units<- wl_units<-,Spectra-method