Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.
/ rnirs Public archive

Archived repo - This R Package is not developed anymore (only maintenance). It was replaced by R package rchemo

Notifications You must be signed in to change notification settings

mlesnoff/rnirs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rnirs - Dimension reduction, Regression and Discrimination for Chemometrics

Warning

This repository is archived. Package rnirs is not be developed nor maintained anymore. Under R, it is replaced by package rchemo.

Version 1.9-18

Available functions

Click HERE to see the list of the available functions

or write in the R console

vignette("rnirs_functions")

After the package installation, all the functions have a help page with documented examples.

News

Click HERE to see what changed in the last version

or write in the R console

news(package = "rnirs")

Dependent packages

rnris is dependent to the following 6 packages available on CRAN:

Package Which use in rnris?
data.table Fast data management
FNN Fast search of nearest neighbours
kernlab SVM core algorithms
matrixStats Fast column- and row-wise operations on matrices
ptw ALS detrend algorithm
signal Savitsky-Golay derivation algorithm

Installation

Using Rstudio is recommended for installation and usage

1. Install package 'remotes' from CRAN

Use the Rstudio menu

or write in the R console

install.packages("remotes")

2. Install package 'rnirs'

a) Most recent version

Write in the R console

remotes::install_github("mlesnoff/rnirs", dependencies = TRUE, 
  build_vignettes = TRUE)

In case of the following question during installation process:

These packages have more recent versions available.
Which would you like to update?"

it is recommended to skip updates (usually choice 3 = None)

b) Any given tagged version

e.g. with tag "v1.9-0" (Be carefull, this is not the more recent version)

write in the R console

remotes::install_github("mlesnoff/[email protected]", dependencies = TRUE, 
  build_vignettes = TRUE)

3. Usage

Write in the R console

library(rnirs)

Author

Matthieu Lesnoff

[email protected]

How to cite

Lesnoff, M. 2021. R package rnirs: Dimension reduction, Regression and Discrimination for Chemometrics. https://github.com/mlesnoff/rnirs. CIRAD, UMR SELMET, Montpellier, France