Learn R Programming

⚠️There's a newer version (0.2.8) of this package.Take me there.

prospectr (version 0.2.0)

Miscellaneous Functions for Processing and Sample Selection of Spectroscopic Data

Description

Functions to preprocess spectroscopic data and conduct (representative) sample selection/calibration sampling.

Copy Link

Version

Install

install.packages('prospectr')

Monthly Downloads

1,215

Version

0.2.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Leonardo RamirezLopez

Last Published

March 14th, 2020

Functions in prospectr (0.2.0)

blockScale

Hard or soft block scaling
.get_nircal_description

get the description of the spectra in the nircal file
puchwein

Puchwein algorithm for calibration sampling
readASD

Read ASD FieldSpec Pro binary and ASCII files
cochranTest

Cochran C Test
resample2

Resample a high resolution signal to a low resolution signal using full width half maximum (FWHM) values
binning

Signal binning
.get_nircal_indices

get the positions of relevant data witihi the nircal file
.get_nircal_response

get the response variables in the nircal file
naes

k-means sampling
ResampleCppM

Resample to given band position and fwhm
.get_nircal_lengthspc

get the number of spectral variables in the nircaa file
.get_nircal_metadata

get the metadata of the samples in the nircal file
savitzkyGolay

Savitzky-Golay transformation
honigs

Honigs algorithm for calibration sampling
gapDer

Gap-Segment Derivative
.get_nircal_spectra

get the spectra in the nircal file
blockNorm

Sum of squares block weighting
duplex

DUPLEX algorithm for calibration sampling
bitAND

bitwise operations
e2m

A function for transforming a matrix from its Euclidean space to its Mahalanobis space
prospectr-package

Overview of the functions in the prospectr package
standardNormalVariate

Standard normal variate transformation
fastDist

A fast distance algorithm for two matrices written in C++
sqrtSm

Square root of (square) symetric matrices
Cul

Cochran C critical value
fastDistV

A fast distance algorithm for a matrix and a vector written in C++
shenkWest

SELECT algorithm for calibration sampling
spliceCorrection

Splice correction of a spectral matrix acquired with an ASD spectrometer
.get_nircal_comments

get the comments of the spectra in the nircal file
detrend

Detrend transformation
kenStone

Kennard-Stone algorithm for calibration sampling
movav

Moving average
read_nircal

Import BUCHI NIRCal files
resample

Resample spectral data
NIRsoil

NIRSoil
continuumRemoval

Continuum Removal
convCppM

Convolve